aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2009-09-19 04:56:22 +0000
committerJustin Ruggles <justin.ruggles@gmail.com>2009-09-19 04:56:22 +0000
commit306a1204fffc6a4118895a7e90da3d66782c1db9 (patch)
tree7d5347291e9d3f5d1a328f1fe95f4acb392f9f1c
parent803d8488f27a9695cd9329c66b16a184392cfdc4 (diff)
downloadffmpeg-306a1204fffc6a4118895a7e90da3d66782c1db9.tar.gz
Update AC-3 channel map. 2F/2R layout only has 4 channels. This correction
does not change any current channel mapping behavior. Originally committed as revision 19919 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/ac3tab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ac3tab.c b/libavcodec/ac3tab.c
index ba7b204b21..e7835c6748 100644
--- a/libavcodec/ac3tab.c
+++ b/libavcodec/ac3tab.c
@@ -108,7 +108,7 @@ const uint16_t ff_ac3_channel_layout_tab[8] = {
*/
const uint8_t ff_ac3_enc_channel_map[8][2][6] = {
COMMON_CHANNEL_MAP
- { { 0, 1, 2, 3, 4, }, { 0, 1, 3, 4, 2, } },
+ { { 0, 1, 2, 3, }, { 0, 1, 3, 4, 2, } },
{ { 0, 2, 1, 3, 4, }, { 0, 2, 1, 4, 5, 3 } },
};
@@ -118,7 +118,7 @@ const uint8_t ff_ac3_enc_channel_map[8][2][6] = {
*/
const uint8_t ff_ac3_dec_channel_map[8][2][6] = {
COMMON_CHANNEL_MAP
- { { 0, 1, 2, 3, 4, }, { 0, 1, 4, 2, 3, } },
+ { { 0, 1, 2, 3, }, { 0, 1, 4, 2, 3, } },
{ { 0, 2, 1, 3, 4, }, { 0, 2, 1, 5, 3, 4 } },
};