diff --git a/src/opus_decoder.c b/src/opus_decoder.c index 84b4465b3bec8419733e830d4f70a9c5797ab371..48b637da62e385e5a5953069115e60cf2d5979fe 100644 --- a/src/opus_decoder.c +++ b/src/opus_decoder.c @@ -465,7 +465,7 @@ int opus_decode(OpusDecoder *st, const unsigned char *data, if (count <= 0 || st->frame_size*count*25 > 3*st->Fs) return OPUS_CORRUPTED_DATA; len--; - /* Padding bit */ + /* Padding flag is bit 6 */ if (ch&0x40) { int padding=0; @@ -481,7 +481,7 @@ int opus_decode(OpusDecoder *st, const unsigned char *data, } if (len<0) return OPUS_CORRUPTED_DATA; - /* Bit 7 is VBR flag (bit 6 is ignored) */ + /* VBR flag is bit 7 */ if (ch&0x80) { /* VBR case */