Skip to content
Snippets Groups Projects
Commit a761e1c2 authored by Tristan Matthews's avatar Tristan Matthews Committed by François Cartegnie
Browse files

opus_header: fix channel mapping family 1 parsing

Fixes #27808

(cherry picked from commit 79fa6af0)
parent dc14756a
No related branches found
No related tags found
1 merge request!5590[3.0] opus_header: fix channel mapping family 1 parsing
Pipeline #483462 passed with stages
in 20 minutes and 55 seconds
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment