cosmetic changing hardwired 20 to SUBBAND_SIZE
authorMarc Hoffman <mmhoffm@gmail.com>
Sun, 15 Jul 2007 21:48:17 +0000 (21:48 +0000)
committerMarc Hoffman <mmhoffm@gmail.com>
Sun, 15 Jul 2007 21:48:17 +0000 (21:48 +0000)
Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/cook.c

index 2d4a72e..8a84470 100644 (file)
@@ -598,7 +598,7 @@ static void decode_vectors(COOKContext* q, int* category,
         }
         scalar_dequant(q, index, quant_index_table[band],
                        subband_coef_index, subband_coef_sign,
-                       &mlt_buffer[band * 20]);
+                       &mlt_buffer[band * SUBBAND_SIZE]);
     }
 
     if(q->total_subbands*SUBBAND_SIZE >= q->samples_per_channel){