diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-02-15 18:46:56 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-02-15 21:40:42 +0000 |
commit | 50d7140441b61809ad4ba4ea7b4ad8fe77bc6888 (patch) | |
tree | 10716fe36659ff62bc23dcaacaabc3c8a6bea211 /libavcodec/ac3enc.c | |
parent | 9ac2085dbf1821b7995fe360038c1bf0f3940032 (diff) | |
download | ffmpeg-50d7140441b61809ad4ba4ea7b4ad8fe77bc6888.tar.gz |
ac3enc: change default floor code to 7.
This is to match the value in every (E-)AC-3 file from commercial sources.
It has a negligible effect on audio quality.
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index c15fd5109c..72a6c89288 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -752,7 +752,7 @@ static void bit_alloc_init(AC3EncodeContext *s) s->fast_decay_code = 1; s->slow_gain_code = 1; s->db_per_bit_code = 3; - s->floor_code = 4; + s->floor_code = 7; for (ch = 0; ch < s->channels; ch++) s->fast_gain_code[ch] = 4; |