Merge commit 'c9ca220ef26e36abd22085e6fa156c0dbc43bbf0'
* commit 'c9ca220ef26e36abd22085e6fa156c0dbc43bbf0': ac3dec: make drc_scale exponentially Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
785066ae8a
@ -760,8 +760,8 @@ static int decode_audio_block(AC3DecodeContext *s, int blk)
|
||||
i = !s->channel_mode;
|
||||
do {
|
||||
if (get_bits1(gbc)) {
|
||||
s->dynamic_range[i] = ((dynamic_range_tab[get_bits(gbc, 8)] - 1.0) *
|
||||
s->drc_scale) + 1.0;
|
||||
s->dynamic_range[i] = powf(dynamic_range_tab[get_bits(gbc, 8)],
|
||||
s->drc_scale);
|
||||
} else if (blk == 0) {
|
||||
s->dynamic_range[i] = 1.0f;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user