diff options
author | Mark Harris <mark.hsj@gmail.com> | 2013-11-14 04:31:59 +0400 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-14 08:18:34 +0400 |
commit | 3a4659a622a8353b2e2815c1dc44f32972b45660 (patch) | |
tree | 649833c60acabcac5e4a3ef638e87ab57bc72a22 /src/opus_multistream_decoder.c | |
parent | 2dc27dfa13eb4f2b9cd291852b4e9c9508cd9cb2 (diff) |
opus_multistream_packet_validate() now called with the total number of streams
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
Diffstat (limited to 'src/opus_multistream_decoder.c')
-rw-r--r-- | src/opus_multistream_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_multistream_decoder.c b/src/opus_multistream_decoder.c index e2111f76..a05fa1e7 100644 --- a/src/opus_multistream_decoder.c +++ b/src/opus_multistream_decoder.c @@ -223,7 +223,7 @@ static int opus_multistream_decode_native( } if (!do_plc) { - int ret = opus_multistream_packet_validate(data, len, st->layout.nb_coupled_streams, Fs); + int ret = opus_multistream_packet_validate(data, len, st->layout.nb_streams, Fs); if (ret < 0) { RESTORE_STACK; |