comparison ac3enc.c @ 6516:dbb902bb2347 libavcodec

two more typos spotted by Mike
author diego
date Thu, 20 Mar 2008 19:36:20 +0000
parents f44ffc9a68c8
children 48759bfbd073
comparison
equal deleted inserted replaced
6515:f44ffc9a68c8 6516:dbb902bb2347
674 int fbw_coeffs = cutoff * 512 / s->sample_rate; 674 int fbw_coeffs = cutoff * 512 / s->sample_rate;
675 bw_code = av_clip((fbw_coeffs - 73) / 3, 0, 60); 675 bw_code = av_clip((fbw_coeffs - 73) / 3, 0, 60);
676 } else { 676 } else {
677 /* use default bandwidth setting */ 677 /* use default bandwidth setting */
678 /* XXX: should compute the bandwidth according to the frame 678 /* XXX: should compute the bandwidth according to the frame
679 size, so that we avoid anoying high freq artifacts */ 679 size, so that we avoid annoying high frequency artifacts */
680 bw_code = 50; 680 bw_code = 50;
681 } 681 }
682 for(ch=0;ch<s->nb_channels;ch++) { 682 for(ch=0;ch<s->nb_channels;ch++) {
683 /* bandwidth for each channel */ 683 /* bandwidth for each channel */
684 s->chbwcod[ch] = bw_code; 684 s->chbwcod[ch] = bw_code;