Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
79fa6af0 by Tristan Matthews at 2023-02-03T09:21:55+00:00
opus_header: fix channel mapping family 1 parsing
Fixes #27808
- - - - -
1 changed file:
- modules/codec/opus_header.c
Changes:
=====================================
modules/codec/opus_header.c
=====================================
@@ -197,7 +197,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/79fa6af0a98921f9d34933761f4fe20ef6c35309
--
View it on GitLab:
https://code.videolan.org/videolan/vlc/-/commit/79fa6af0a98921f9d34933761f4fe20ef6c35309
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits