Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2010-12-18 01:06:00 +0300
committerJustin Ruggles <justin.ruggles@gmail.com>2010-12-18 01:06:00 +0300
commit78646ac206feceb8a24bfe45cd3e216e14fd5b1b (patch)
tree5644d3bbdd8e59bd0733313af641906985532fbd /libavcodec/ac3enc.c
parentc4e93eeecdab3e1a0c2d22df4360b994cb6643a7 (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.c2
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;
}