Mercurial > libavcodec.hg
changeset 10191:54b6170a608b libavcodec
Update AC-3 channel map. 2F/2R layout only has 4 channels. This correction
does not change any current channel mapping behavior.
author | jbr |
---|---|
date | Sat, 19 Sep 2009 04:56:22 +0000 |
parents | 1b1ac77dee05 |
children | 272cac6de8ce |
files | ac3tab.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ac3tab.c Sat Sep 19 01:46:03 2009 +0000 +++ b/ac3tab.c Sat Sep 19 04:56:22 2009 +0000 @@ -108,7 +108,7 @@ */ 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_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 } }, };