Move declaration a little.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2008 17:28:25 +0000 (17:28 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 3 May 2008 17:28:25 +0000 (17:28 +0000)
Originally committed as revision 13049 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/nellymoserdec.c

index 3ef9cac..7e8c365 100644 (file)
@@ -131,10 +131,10 @@ static void overlap_and_window(NellyMoserDecodeContext *s, float *state, float *
 
 static int sum_bits(short *buf, short shift, short off)
 {
-    int b, i, ret = 0;
+    int i, ret = 0;
 
     for (i = 0; i < NELLY_FILL_LEN; i++) {
-        b = buf[i]-off;
+        int b = buf[i]-off;
         b = ((b>>(shift-1))+1)>>1;
         ret += av_clip(b, 0, NELLY_BIT_CAP);
     }