diff options
author | Mans Rullgard <mans@mansr.com> | 2011-03-11 02:49:55 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-03-29 19:31:45 +0100 |
commit | 6d9f52b2cd760eacf6cc6b7d694b0b00d991f1de (patch) | |
tree | b6275771445a9cf058d92cb5fb2847698a3414a8 /libavcodec/ac3enc.c | |
parent | d38345878cbb89e4d8d33bd79f47836d4e9cd637 (diff) | |
download | ffmpeg-streaming-6d9f52b2cd760eacf6cc6b7d694b0b00d991f1de.zip ffmpeg-streaming-6d9f52b2cd760eacf6cc6b7d694b0b00d991f1de.tar.gz |
ac3: move ff_ac3_bit_alloc_calc_bap to ac3dsp
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index c641400..e62ded6 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -1047,7 +1047,7 @@ static int bit_alloc(AC3EncodeContext *s, int snr_offset) whenever we reuse exponents. */ block = s->blocks[blk].exp_ref_block[ch]; if (s->exp_strategy[ch][blk] != EXP_REUSE) { - ff_ac3_bit_alloc_calc_bap(block->mask[ch], block->psd[ch], 0, + s->ac3dsp.bit_alloc_calc_bap(block->mask[ch], block->psd[ch], 0, s->nb_coefs[ch], snr_offset, s->bit_alloc.floor, ff_ac3_bap_tab, block->bap[ch]); |