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>2018-03-23 23:13:59 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2018-03-27 22:13:27 +0300
commit69bcb28d3ddb20231580bd09e44d87a769dabcb7 (patch)
tree2f77881efd1abd40ede3db650fd20a5bef6b1df3 /src/opus_multistream_decoder.c
parent3995a0c150511572280170280a348fab575edbe7 (diff)
Some missing checks
Diffstat (limited to 'src/opus_multistream_decoder.c')
-rw-r--r--src/opus_multistream_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_multistream_decoder.c b/src/opus_multistream_decoder.c
index 39699fd0..f767ea0d 100644
--- a/src/opus_multistream_decoder.c
+++ b/src/opus_multistream_decoder.c
@@ -202,7 +202,7 @@ int opus_multistream_decode_native(
VALIDATE_MS_DECODER(st);
/* Limit frame_size to avoid excessive stack allocations. */
- opus_multistream_decoder_ctl(st, OPUS_GET_SAMPLE_RATE(&Fs));
+ MUST_SUCCEED(opus_multistream_decoder_ctl(st, OPUS_GET_SAMPLE_RATE(&Fs)));
frame_size = IMIN(frame_size, Fs/25*3);
ALLOC(buf, 2*frame_size, opus_val16);
ptr = (char*)st + align(sizeof(OpusMSDecoder));