OSDN Git Service

Remove unused variable in init_mv_penalty_and_fcode() found by CSA.
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 14:42:02 +0000 (14:42 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 17 Apr 2009 14:42:02 +0000 (14:42 +0000)
Originally committed as revision 18557 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h263.c

index a4eb2fd..ebf6ccb 100644 (file)
@@ -1820,10 +1820,9 @@ static void init_mv_penalty_and_fcode(MpegEncContext *s)
 
             if(mv==0) len= mvtab[0][1];
             else{
-                int val, bit_size, range, code;
+                int val, bit_size, code;
 
                 bit_size = f_code - 1;
-                range = 1 << bit_size;
 
                 val=mv;
                 if (val < 0)