Commit 0ca076d5 authored by Jean-Marc Valin's avatar Jean-Marc Valin
Browse files

Fixes multi-stream bug exposed in e335065a

parent f5ac8a68
......@@ -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)
......
Markdown is supported
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