diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-05 09:53:05 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-05 09:53:05 +0400 |
commit | 8c9c9b280dd4ced13823d23d436c6e86364227ae (patch) | |
tree | 9dcfe6ac9f70bc2cf31d1c7c43009f5cf0670446 /src | |
parent | 9283114fa1096355ac1a8e25a7f524106963a4ab (diff) |
Fixes a multi-frame FEC issue that was caught by valgrind
Diffstat (limited to 'src')
-rw-r--r-- | src/opus_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_decoder.c b/src/opus_decoder.c index 2265cc1b..3f38d8cc 100644 --- a/src/opus_decoder.c +++ b/src/opus_decoder.c @@ -779,7 +779,7 @@ int opus_decode_native(OpusDecoder *st, const unsigned char *data, if (frame_size <= packet_frame_size || packet_mode == MODE_CELT_ONLY || st->mode == MODE_CELT_ONLY) return opus_decode_native(st, NULL, 0, pcm, frame_size, 0, 0, NULL); /* Otherwise, run the PLC on everything except the size for which we might have FEC */ - ret = opus_decode_frame(st, NULL, 0, pcm, frame_size-packet_frame_size, 0); + ret = opus_decode_native(st, NULL, 0, pcm, frame_size-packet_frame_size, 0, 0, NULL); if (ret<0) return ret; /* Complete with FEC */ |