s/OPUS_CORRUPTED_DATA/OPUS_INVALID_PACKET/
This commit is contained in:
parent
663a7fe938
commit
331e9fe0fd
5 changed files with 24 additions and 24 deletions
|
@ -561,7 +561,7 @@ static int opus_multistream_decode_native(
|
|||
if (len<=0)
|
||||
{
|
||||
RESTORE_STACK;
|
||||
return OPUS_CORRUPTED_DATA;
|
||||
return OPUS_INVALID_PACKET;
|
||||
}
|
||||
ret = opus_decode_native(dec, data, len, buf, frame_size, decode_fec, 1, &packet_offset);
|
||||
data += packet_offset;
|
||||
|
@ -574,7 +574,7 @@ static int opus_multistream_decode_native(
|
|||
if (s>0 && ret != frame_size)
|
||||
{
|
||||
RESTORE_STACK;
|
||||
return OPUS_CORRUPTED_DATA;
|
||||
return OPUS_INVALID_PACKET;
|
||||
}
|
||||
if (ret <= 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue