comparison cook.c @ 5341:b42bcc94b97c libavcodec

cosmetic changing hardwired 20 to SUBBAND_SIZE
author mhoffman
date Sun, 15 Jul 2007 21:48:17 +0000
parents 2b72f9bc4f06
children 887509b42d3f
comparison
equal deleted inserted replaced
5340:6dc4826a38da 5341:b42bcc94b97c
596 memset(subband_coef_index, 0, sizeof(subband_coef_index)); 596 memset(subband_coef_index, 0, sizeof(subband_coef_index));
597 memset(subband_coef_sign, 0, sizeof(subband_coef_sign)); 597 memset(subband_coef_sign, 0, sizeof(subband_coef_sign));
598 } 598 }
599 scalar_dequant(q, index, quant_index_table[band], 599 scalar_dequant(q, index, quant_index_table[band],
600 subband_coef_index, subband_coef_sign, 600 subband_coef_index, subband_coef_sign,
601 &mlt_buffer[band * 20]); 601 &mlt_buffer[band * SUBBAND_SIZE]);
602 } 602 }
603 603
604 if(q->total_subbands*SUBBAND_SIZE >= q->samples_per_channel){ 604 if(q->total_subbands*SUBBAND_SIZE >= q->samples_per_channel){
605 return; 605 return;
606 } /* FIXME: should this be removed, or moved into loop above? */ 606 } /* FIXME: should this be removed, or moved into loop above? */