From: Marc Hoffman Date: Sun, 15 Jul 2007 21:48:17 +0000 (+0000) Subject: cosmetic changing hardwired 20 to SUBBAND_SIZE X-Git-Tag: v0.5~8305 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2843a452c9bc492fd54c21abd1e420528248ece7;p=platform%2Fupstream%2Flibav.git cosmetic changing hardwired 20 to SUBBAND_SIZE Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/cook.c b/libavcodec/cook.c index 2d4a72e..8a84470 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){