comparison ac3dec.c @ 6906:86e3dce7f723 libavcodec

zero the upper frequencies of the correct coefficients
author jbr
date Tue, 27 May 2008 00:43:39 +0000
parents ff5fd5a1abf5
children ec4e01cb0089
comparison
equal deleted inserted replaced
6905:d163c4f3f4ab 6906:86e3dce7f723
602 end = s->end_freq[CPL_CH]; 602 end = s->end_freq[CPL_CH];
603 } else { 603 } else {
604 end = s->end_freq[ch]; 604 end = s->end_freq[ch];
605 } 605 }
606 do 606 do
607 s->transform_coeffs[ch][end] = 0; 607 s->fixed_coeffs[ch][end] = 0;
608 while(++end < 256); 608 while(++end < 256);
609 } 609 }
610 610
611 /* if any channel doesn't use dithering, zero appropriate coefficients */ 611 /* if any channel doesn't use dithering, zero appropriate coefficients */
612 if(!s->dither_all) 612 if(!s->dither_all)