diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-03-22 05:39:20 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-03-22 05:39:20 +0000 |
commit | d971a5fa8175ec6618583df5e76bde9421c8dfa8 (patch) | |
tree | 4177b6b09973cc5058fed04f8cb15dc66f922466 /libavcodec/ac3enc.c | |
parent | 319708da026702c3fcfbfed0dc7c48263ac10d23 (diff) | |
download | ffmpeg-d971a5fa8175ec6618583df5e76bde9421c8dfa8.tar.gz |
cosmetics. align and condense.
Originally committed as revision 8479 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 71d78460bf..5161b61e4f 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -477,9 +477,8 @@ static int bit_alloc(AC3EncodeContext *s, s->mant2_cnt = 0; s->mant4_cnt = 0; 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], - snroffset, + ff_ac3_bit_alloc_calc_bap(mask[i][ch], psd[i][ch], 0, + s->nb_coefs[ch], snroffset, s->bit_alloc.floor, bap[i][ch]); frame_bits += compute_mantissa_size(s, bap[i][ch], s->nb_coefs[ch]); |