mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cosmetics. align and condense.
Originally committed as revision 8479 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
319708da02
commit
d971a5fa81
@ -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]);
|
||||||
|
Loading…
Reference in New Issue
Block a user