diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-06-07 22:29:54 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-06-07 22:29:54 +0000 |
commit | 687671f03b3df1376479c7a2f880b5fc5634772e (patch) | |
tree | d476556494e88bb610f8359f6c02adc2b94dc42c /libavcodec/ac3enc.c | |
parent | 30cc3ac20e1e6cd434bc776932b0897d8a999b0e (diff) | |
download | ffmpeg-687671f03b3df1376479c7a2f880b5fc5634772e.tar.gz |
pass bap table to ff_ac3_bit_alloc_calc_bap()
Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index e85d86c901..b171055715 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -463,7 +463,8 @@ static int bit_alloc(AC3EncodeContext *s, for(ch=0;ch<s->nb_all_channels;ch++) { ff_ac3_bit_alloc_calc_bap(mask[i][ch], psd[i][ch], 0, s->nb_coefs[ch], snr_offset, - s->bit_alloc.floor, bap[i][ch]); + s->bit_alloc.floor, ff_ac3_bap_tab, + bap[i][ch]); frame_bits += compute_mantissa_size(s, bap[i][ch], s->nb_coefs[ch]); } |