ref: 37e788c185a98cde764f391f497d5dc76bd0599d
parent: 6c28805c56d562bec56cc0b31c0d5905ebb5a6ac
author: Jean-Marc Valin <[email protected]>
date: Wed Mar 16 16:56:28 EDT 2011
Fixes return value on lost packet
--- a/libcelt/celt.c
+++ b/libcelt/celt.c
@@ -2296,7 +2296,7 @@
{
celt_decode_lost(st, pcm, N, LM);
RESTORE_STACK;
- return CELT_OK;
+ return frame_size/st->downsample;
}
if (len<0) {
RESTORE_STACK;