[vlc-commits] [Git][videolan/vlc][3.0.x] opus_header: fix channel mapping family 1 parsing
Steve Lhomme (@robUx4)
gitlab at videolan.org
Wed Jun 19 10:21:50 UTC 2024
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
a761e1c2 by Tristan Matthews at 2024-06-18T17:15:53+07:00
opus_header: fix channel mapping family 1 parsing
Fixes #27808
(cherry picked from commit 79fa6af0a98921f9d34933761f4fe20ef6c35309)
- - - - -
1 changed file:
- modules/codec/opus_header.c
Changes:
=====================================
modules/codec/opus_header.c
=====================================
@@ -205,7 +205,7 @@ int opus_header_parse(const unsigned char *packet, int len, OpusHeader *h)
h->nb_coupled = ch;
/* Multi-stream support */
- if(h->channel_mapping == 2)
+ if(h->channel_mapping <= 2)
{
if (h->nb_coupled + h->nb_streams > 255)
return 0;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a761e1c202b632e7865d18fcf11a2b9e285ea9ae
--
This project does not include diff previews in email notifications.
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/a761e1c202b632e7865d18fcf11a2b9e285ea9ae
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list