diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-20 04:30:30 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-02-20 14:46:25 +0100 |
commit | d0d96674ec647a6b6b08bbf339e6cb995c780e6c (patch) | |
tree | d5bab7317156602c9ae7876019fe66e21785a163 /libavcodec/ac3tab.c | |
parent | 89fe1935b18621af06587c76bcde6adcdc8f2249 (diff) | |
download | ffmpeg-d0d96674ec647a6b6b08bbf339e6cb995c780e6c.tar.gz |
avcodec/ac3tab: Move ff_ac3_enc_channel_map to its only user
and make it static.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/ac3tab.c')
-rw-r--r-- | libavcodec/ac3tab.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/libavcodec/ac3tab.c b/libavcodec/ac3tab.c index 99307218cc..5a352340e7 100644 --- a/libavcodec/ac3tab.c +++ b/libavcodec/ac3tab.c @@ -97,24 +97,6 @@ const uint16_t avpriv_ac3_channel_layout_tab[8] = { AV_CH_LAYOUT_5POINT0 }; -#define COMMON_CHANNEL_MAP \ - { { 0, 1, }, { 0, 1, 2, } },\ - { { 0, }, { 0, 1, } },\ - { { 0, 1, }, { 0, 1, 2, } },\ - { { 0, 2, 1, }, { 0, 2, 1, 3, } },\ - { { 0, 1, 2, }, { 0, 1, 3, 2, } },\ - { { 0, 2, 1, 3, }, { 0, 2, 1, 4, 3, } }, - -/** - * Table to remap channels from SMPTE order to AC-3 order. - * [channel_mode][lfe][ch] - */ -const uint8_t ff_ac3_enc_channel_map[8][2][6] = { - COMMON_CHANNEL_MAP - { { 0, 1, 2, 3, }, { 0, 1, 3, 4, 2, } }, - { { 0, 2, 1, 3, 4, }, { 0, 2, 1, 4, 5, 3 } }, -}; - /** * Table to remap channels from AC-3 order to SMPTE order. * [channel_mode][lfe][ch] |