aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpeg4audio.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2022-10-26 20:25:51 -0300
committerJames Almer <jamrial@gmail.com>2022-11-03 19:39:52 -0300
commitcf653aabb5b32ce2538365e32ea9db51592169c3 (patch)
tree25db66f63ad308ce5a2fe65f316f8531ba5a5d26 /libavcodec/mpeg4audio.c
parentc79b16306f6c612cb5ef970b2745564082bb8d16 (diff)
downloadffmpeg-cf653aabb5b32ce2538365e32ea9db51592169c3.tar.gz
avcodec/aacdec: add support for channel configuration 14
It corresponds to the 7.1(top) layout. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/mpeg4audio.c')
-rw-r--r--libavcodec/mpeg4audio.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/mpeg4audio.c b/libavcodec/mpeg4audio.c
index e38a8c0852..fbd2a8f811 100644
--- a/libavcodec/mpeg4audio.c
+++ b/libavcodec/mpeg4audio.c
@@ -56,7 +56,7 @@ static int parse_config_ALS(GetBitContext *gb, MPEG4AudioConfig *c, void *logctx
return 0;
}
-const uint8_t ff_mpeg4audio_channels[14] = {
+const uint8_t ff_mpeg4audio_channels[15] = {
0,
1, // mono (1/0)
2, // stereo (2/0)
@@ -70,7 +70,8 @@ const uint8_t ff_mpeg4audio_channels[14] = {
0,
7, // 3/3.1
8, // 3/2/2.1
- 24 // 3/3/3 - 5/2/3 - 3/0/0.2
+ 24, // 3/3/3 - 5/2/3 - 3/0/0.2
+ 8, // 3/2.1 - 2/0
};
static inline int get_object_type(GetBitContext *gb)