ref: 9203565fa86ace78016fd01e5e19ad64adac1c6f
parent: 1b0d40fc3423026eab8e4f4c594b53181729e855
author: Jean-Marc Valin <[email protected]>
date: Mon Jul 4 06:45:15 EDT 2016
Forgot to call RESTORE_STACK in 328953e1896432bc700b9b5c69ae2987c5d752f4
--- a/src/opus_multistream_encoder.c
+++ b/src/opus_multistream_encoder.c
@@ -1032,7 +1032,10 @@
/* If the opus_repacketizer_cat() fails, then something's seriously wrong
with the encoder. */
if (ret != OPUS_OK)
+ {
+ RESTORE_STACK;
return OPUS_INTERNAL_ERROR;
+ }
len = opus_repacketizer_out_range_impl(&rp, 0, opus_repacketizer_get_nb_frames(&rp),
data, max_data_bytes-tot_size, s != st->layout.nb_streams-1, !vbr && s == st->layout.nb_streams-1);
data += len;