CELT update

With minor fixes
This commit is contained in:
Jean-Marc Valin 2011-03-18 15:48:39 -04:00
parent 64d834f385
commit f2c8e5dfee
5 changed files with 7 additions and 4 deletions

View file

@ -135,6 +135,7 @@ static int opus_decode_frame(OpusDecoder *st, const unsigned char *data,
if (st->stream_channels > st->channels)
return OPUS_CORRUPTED_DATA;
/* FIXME: Remove this when we add SILK stereo support */
if (st->stream_channels == 2 && mode != MODE_CELT_ONLY)
return OPUS_UNIMPLEMENTED;