Commit d971a5fa authored by Justin Ruggles's avatar Justin Ruggles

cosmetics. align and condense.

Originally committed as revision 8479 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 319708da
...@@ -477,9 +477,8 @@ static int bit_alloc(AC3EncodeContext *s, ...@@ -477,9 +477,8 @@ static int bit_alloc(AC3EncodeContext *s,
s->mant2_cnt = 0; s->mant2_cnt = 0;
s->mant4_cnt = 0; s->mant4_cnt = 0;
for(ch=0;ch<s->nb_all_channels;ch++) { for(ch=0;ch<s->nb_all_channels;ch++) {
ff_ac3_bit_alloc_calc_bap(mask[i][ch], psd[i][ch], ff_ac3_bit_alloc_calc_bap(mask[i][ch], psd[i][ch], 0,
0, s->nb_coefs[ch], s->nb_coefs[ch], snroffset,
snroffset,
s->bit_alloc.floor, bap[i][ch]); s->bit_alloc.floor, bap[i][ch]);
frame_bits += compute_mantissa_size(s, bap[i][ch], frame_bits += compute_mantissa_size(s, bap[i][ch],
s->nb_coefs[ch]); s->nb_coefs[ch]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment