Skip to content
Snippets Groups Projects
Commit 823a0541 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes silly CBR/VBR inversion bug from 7954065c

parent d186c913
No related branches found
No related tags found
No related merge requests found
......@@ -548,7 +548,7 @@ static int opus_packet_parse_impl(const unsigned char *data, int len,
return OPUS_INVALID_PACKET;
/* VBR flag is bit 7 */
cbr = !(ch&0x80);
if (cbr)
if (!cbr)
{
/* VBR case */
last_size = len;
......
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