Skip to content
Snippets Groups Projects
Commit 0ca076d5 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes multi-stream bug exposed in e335065a

parent f5ac8a68
No related branches found
No related tags found
No related merge requests found
......@@ -563,7 +563,7 @@ static int opus_multistream_decode_native(
RESTORE_STACK;
return OPUS_INVALID_PACKET;
}
ret = opus_decode_native(dec, data, len, buf, frame_size, decode_fec, 1, &packet_offset);
ret = opus_decode_native(dec, data, len, buf, frame_size, decode_fec, s!=st->layout.nb_streams-1, &packet_offset);
data += packet_offset;
len -= packet_offset;
if (ret > frame_size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment