[Ffmpeg-cvslog] r8653 - trunk/libavcodec/adpcm.c

michael subversion
Sat Apr 7 23:22:50 CEST 2007


Author: michael
Date: Sat Apr  7 23:22:50 2007
New Revision: 8653

Modified:
   trunk/libavcodec/adpcm.c

Log:
simplify


Modified: trunk/libavcodec/adpcm.c
==============================================================================
--- trunk/libavcodec/adpcm.c	(original)
+++ trunk/libavcodec/adpcm.c	Sat Apr  7 23:22:50 2007
@@ -1328,9 +1328,8 @@ static int adpcm_decode_frame(AVCodecCon
                     get_bits_long(&gb, 32); /* Channel size */
         samplecnt = get_bits_long(&gb, 32);
 
-        for (ch = 0; ch < 2; ch++)
-            for (i = 0; i < 16; i++)
-                table[ch][i] = get_sbits(&gb, 16);
+        for (i = 0; i < 32; i++)
+            table[0][i] = get_sbits(&gb, 16);
 
         /* Initialize the previous sample.  */
         for (ch = 0; ch < 2; ch++) {




More information about the ffmpeg-cvslog mailing list