From 78646ac206feceb8a24bfe45cd3e216e14fd5b1b Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Fri, 17 Dec 2010 22:06:00 +0000 Subject: [PATCH] 10l: fix encoding for LFE channel Originally committed as revision 26048 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ac3enc.c | 2 ++ 1 file changed, 2 insertions(+) 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; }