diff adpcm.c @ 4806:52cb2800e26c libavcodec

simplify
author michael
date Sat, 07 Apr 2007 21:22:50 +0000
parents a591ce5aaa04
children 30ac525752b9
line wrap: on
line diff
--- a/adpcm.c	Sat Apr 07 21:19:36 2007 +0000
+++ b/adpcm.c	Sat Apr 07 21:22:50 2007 +0000
@@ -1328,9 +1328,8 @@
                     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++) {