Fixes return value on lost packet
This commit is contained in:
parent
6c28805c56
commit
37e788c185
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue