Skip to content
Snippets Groups Projects
Commit 71e10e2e authored by Koen Vos's avatar Koen Vos Committed by Jean-Marc Valin
Browse files

CELT/Hybrid fix for in-band FEC.

parent e7a2a031
No related branches found
No related tags found
No related merge requests found
......@@ -200,7 +200,7 @@ int opus_decode(OpusDecoder *st, const unsigned char *data,
celt_decoder_ctl(st->celt_dec, CELT_SET_CHANNELS(st->stream_channels));
/* Decode CELT */
celt_ret = celt_decode_with_ec(st->celt_dec, data, len, pcm_celt, frame_size, &dec);
celt_ret = celt_decode_with_ec(st->celt_dec, decode_fec?NULL:data, len, pcm_celt, frame_size, &dec);
for (i=0;i<frame_size*st->channels;i++)
pcm[i] = ADD_SAT16(pcm[i], pcm_celt[i]);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment