diff options
author | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2011-03-17 03:56:28 +0300 |
---|---|---|
committer | Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> | 2011-03-17 03:56:28 +0300 |
commit | 37e788c185a98cde764f391f497d5dc76bd0599d (patch) | |
tree | 226ed62fc50d75198d83acbba081307932c74042 | |
parent | 6c28805c56d562bec56cc0b31c0d5905ebb5a6ac (diff) |
Fixes return value on lost packet
-rw-r--r-- | libcelt/celt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcelt/celt.c b/libcelt/celt.c index a57d3b4..a0ac059 100644 --- a/libcelt/celt.c +++ b/libcelt/celt.c @@ -2296,7 +2296,7 @@ int celt_decode_with_ec_float(CELTDecoder * restrict st, const unsigned char *da { celt_decode_lost(st, pcm, N, LM); RESTORE_STACK; - return CELT_OK; + return frame_size/st->downsample; } if (len<0) { RESTORE_STACK; |