[vlc-commits] [Git][videolan/vlc][master] opus_header: fix channel mapping family 1 parsing

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Feb 3 10:00:48 UTC 2023



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


More information about the vlc-commits mailing list