diff options
author | James Almer <jamrial@gmail.com> | 2024-10-27 15:22:00 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-13 12:38:04 -0300 |
commit | edc7b675082e84b39cfaad61eb93d500f53a7db6 (patch) | |
tree | d962a184ddf1b493189ec9d2e083187e362b31ca /libavformat/iamf_parse.c | |
parent | 20af68b63a49e41b0b4233833230eff32778ad20 (diff) | |
download | ffmpeg-edc7b675082e84b39cfaad61eb93d500f53a7db6.tar.gz |
avformat/iamf: use the new Binaural channel layout
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/iamf_parse.c')
-rw-r--r-- | libavformat/iamf_parse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/iamf_parse.c b/libavformat/iamf_parse.c index e0a138a07d..4aed894796 100644 --- a/libavformat/iamf_parse.c +++ b/libavformat/iamf_parse.c @@ -956,7 +956,8 @@ static int mix_presentation_obu(void *s, IAMFContext *c, AVIOContext *pb, int le goto fail; } av_channel_layout_copy(&submix_layout->sound_system, &ff_iamf_sound_system_map[sound_system].layout); - } + } else + submix_layout->sound_system = (AVChannelLayout)AV_CHANNEL_LAYOUT_BINAURAL; info_type = avio_r8(pbc); submix_layout->integrated_loudness = av_make_q(sign_extend(avio_rb16(pbc), 16), 1 << 8); |