ref: 823a0541a16fc136fd73ac786525168f2b7d786e
parent: d186c913f76aaf99ef045e7eef860d8ba79d3cf5
author: Jean-Marc Valin <[email protected]>
date: Thu Sep 8 12:26:54 EDT 2011
Fixes silly CBR/VBR inversion bug from 7954065c77
--- a/src/opus_decoder.c
+++ b/src/opus_decoder.c
@@ -548,7 +548,7 @@
return OPUS_INVALID_PACKET;
/* VBR flag is bit 7 */
cbr = !(ch&0x80);
- if (cbr)
+ if (!cbr)
{
/* VBR case */
last_size = len;