[FFmpeg-cvslog] r13049 - trunk/libavcodec/nellymoserdec.c

michael subversion
Sat May 3 19:28:25 CEST 2008


Author: michael
Date: Sat May  3 19:28:25 2008
New Revision: 13049

Log:
Move declaration a little.


Modified:
   trunk/libavcodec/nellymoserdec.c

Modified: trunk/libavcodec/nellymoserdec.c
==============================================================================
--- trunk/libavcodec/nellymoserdec.c	(original)
+++ trunk/libavcodec/nellymoserdec.c	Sat May  3 19:28:25 2008
@@ -131,10 +131,10 @@ static void overlap_and_window(NellyMose
 
 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);
     }




More information about the ffmpeg-cvslog mailing list