diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-05 00:53:05 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2012-12-05 00:53:05 -0500 |
commit | 8c9c9b280dd4ced13823d23d436c6e86364227ae (patch) | |
tree | 9dcfe6ac9f70bc2cf31d1c7c43009f5cf0670446 /src/opus_decoder.c | |
parent | 9283114fa1096355ac1a8e25a7f524106963a4ab (diff) | |
download | libopus-8c9c9b280dd4ced13823d23d436c6e86364227ae.tar.gz |
Fixes a multi-frame FEC issue that was caught by valgrind
Diffstat (limited to 'src/opus_decoder.c')
-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 */ |