Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2011-09-06 22:30:19 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2011-09-06 22:30:19 +0400
commit331e9fe0fd37597908279f58e56065b7aedae699 (patch)
tree60f79f3067b322690f7a8b1c78f512aadac26ce3 /src/opus_multistream.c
parent663a7fe938b3e211ecef57966a14df0d1c9a03f5 (diff)
s/OPUS_CORRUPTED_DATA/OPUS_INVALID_PACKET/
Diffstat (limited to 'src/opus_multistream.c')
-rw-r--r--src/opus_multistream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opus_multistream.c b/src/opus_multistream.c
index 49e3d0f8..fa1e392b 100644
--- a/src/opus_multistream.c
+++ b/src/opus_multistream.c
@@ -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)
{