diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-18 01:06:00 +0300 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-18 01:06:00 +0300 |
commit | 78646ac206feceb8a24bfe45cd3e216e14fd5b1b (patch) | |
tree | 5644d3bbdd8e59bd0733313af641906985532fbd /libavcodec/ac3enc.c | |
parent | c4e93eeecdab3e1a0c2d22df4360b994cb6643a7 (diff) |
10l: fix encoding for LFE channel
Originally committed as revision 26048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.c')
-rw-r--r-- | libavcodec/ac3enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c index 15d038a5b6..274e76be9d 100644 --- a/libavcodec/ac3enc.c +++ b/libavcodec/ac3enc.c @@ -524,6 +524,8 @@ static av_cold void exponent_init(AC3EncodeContext *s) exponent_group_tab[1][i] = (i + 2) / 6; exponent_group_tab[2][i] = (i + 8) / 12; } + /* LFE */ + exponent_group_tab[0][7] = 2; } |