Commit 37e788c1 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes return value on lost packet

parent 6c28805c
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment