From 2843a452c9bc492fd54c21abd1e420528248ece7 Mon Sep 17 00:00:00 2001 From: Marc Hoffman Date: Sun, 15 Jul 2007 21:48:17 +0000 Subject: [PATCH] cosmetic changing hardwired 20 to SUBBAND_SIZE Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/cook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 2d4a72ed55..8a84470e6d 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -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){