Skip to content
Snippets Groups Projects
Commit 79fa6af0 authored by Tristan Matthews's avatar Tristan Matthews Committed by Steve Lhomme
Browse files

opus_header: fix channel mapping family 1 parsing

Fixes #27808
parent b38f2b6c
No related branches found
No related tags found
1 merge request!3216opus_header: fix channel mapping family 1 parsing
Pipeline #309892 passed with stage
in 22 minutes and 42 seconds
......@@ -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;
......
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