cosmetic changing hardwired 20 to SUBBAND_SIZE

Originally committed as revision 9691 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Marc Hoffman 18 years ago
parent cb762e3955
commit 2843a452c9
  1. 2
      libavcodec/cook.c

@ -598,7 +598,7 @@ static void decode_vectors(COOKContext* q, int* category,
} }
scalar_dequant(q, index, quant_index_table[band], scalar_dequant(q, index, quant_index_table[band],
subband_coef_index, subband_coef_sign, 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){ if(q->total_subbands*SUBBAND_SIZE >= q->samples_per_channel){

Loading…
Cancel
Save