Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-04-20 18:26:08 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-04-20 18:26:08 +0400
commit72273000ece2713704fba5e3402aef7a3e009c10 (patch)
treee28cef1c717a4af3ad4c011abd36e37dcce3c7b2 /src
parent8365b5d00df0d1129a30550f451fb62a24e1bc00 (diff)
Misc changes to address Robert Sparks' comments
See http://www.ietf.org/mail-archive/web/codec/current/msg02833.html Still more changes to come
Diffstat (limited to 'src')
-rw-r--r--src/opus_decoder.c4
1 files changed, 2 insertions, 2 deletions
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 */