From 72273000ece2713704fba5e3402aef7a3e009c10 Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Fri, 20 Apr 2012 10:26:08 -0400 Subject: Misc changes to address Robert Sparks' comments See http://www.ietf.org/mail-archive/web/codec/current/msg02833.html Still more changes to come --- src/opus_decoder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/opus_decoder.c b/src/opus_decoder.c index 889b5a4f..7db41f11 100644 --- a/src/opus_decoder.c +++ b/src/opus_decoder.c @@ -292,7 +292,7 @@ static int opus_decode_frame(OpusDecoder *st, const unsigned char *data, if (st->prev_mode==MODE_CELT_ONLY) silk_InitDecoder( silk_dec ); - /* The SILK PLC cannot support produce frames of less than 10 ms */ + /* The SILK PLC cannot produce frames of less than 10 ms */ st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); if (data != NULL) @@ -574,7 +574,7 @@ static int opus_packet_parse_impl(const unsigned char *data, int len, last_size = len-size[0]; break; /* Multiple CBR/VBR frames (from 0 to 120 ms) */ - case 3: + default: /*case 3:*/ if (len<1) return OPUS_INVALID_PACKET; /* Number of frames encoded in bits 0 to 5 */ -- cgit v1.2.3