diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-09-09 13:49:43 -0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2011-09-09 13:49:43 -0400 |
commit | 0ca076d5272a19da36021bad4739047866eca180 (patch) | |
tree | a692ac19723472b96726061f5a750c45b7f04f61 | |
parent | f5ac8a688ce03d8824bb0d0f79ce0d273e55558b (diff) | |
download | opus-0ca076d5272a19da36021bad4739047866eca180.tar.gz |
Fixes multi-stream bug exposed in e335065a1ba72
-rw-r--r-- | src/opus_multistream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_multistream.c b/src/opus_multistream.c index f4f5e8ef..be96f4e6 100644 --- a/src/opus_multistream.c +++ b/src/opus_multistream.c @@ -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) |