|
|
@ -1086,7 +1086,7 @@ static int decode_audio_block(AC3DecodeContext *s, int blk) |
|
|
|
s->bit_alloc_params.fast_decay = ff_ac3_fast_decay_tab[get_bits(gbc, 2)] >> s->bit_alloc_params.sr_shift; |
|
|
|
s->bit_alloc_params.fast_decay = ff_ac3_fast_decay_tab[get_bits(gbc, 2)] >> s->bit_alloc_params.sr_shift; |
|
|
|
s->bit_alloc_params.slow_gain = ff_ac3_slow_gain_tab[get_bits(gbc, 2)]; |
|
|
|
s->bit_alloc_params.slow_gain = ff_ac3_slow_gain_tab[get_bits(gbc, 2)]; |
|
|
|
s->bit_alloc_params.db_per_bit = ff_ac3_db_per_bit_tab[get_bits(gbc, 2)]; |
|
|
|
s->bit_alloc_params.db_per_bit = ff_ac3_db_per_bit_tab[get_bits(gbc, 2)]; |
|
|
|
s->bit_alloc_params.floor = ff_ac3_floor_tab[get_bits(gbc, 3)]; |
|
|
|
s->bit_alloc_params.floor = ff_ac3_floor_tab[get_bits(gbc, 3)]; |
|
|
|
for(ch=!cpl_in_use; ch<=s->channels; ch++) |
|
|
|
for(ch=!cpl_in_use; ch<=s->channels; ch++) |
|
|
|
bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2); |
|
|
|
bit_alloc_stages[ch] = FFMAX(bit_alloc_stages[ch], 2); |
|
|
|
} else if (!blk) { |
|
|
|
} else if (!blk) { |
|
|
|