Fixes silly CBR/VBR inversion bug from 7954065c77
This commit is contained in:
parent
d186c913f7
commit
823a0541a1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue