| Index: third_party/opus/src/src/opus_multistream_decoder.c
|
| diff --git a/third_party/opus/src/src/opus_multistream_decoder.c b/third_party/opus/src/src/opus_multistream_decoder.c
|
| index b95eaa6eac12f036ab9f0a4de65621bf57e5b8c0..e421726f2b427dd2ddd4d20f1dfb99c2afb7008b 100644
|
| --- a/third_party/opus/src/src/opus_multistream_decoder.c
|
| +++ b/third_party/opus/src/src/opus_multistream_decoder.c
|
| @@ -237,7 +237,8 @@ static int opus_multistream_decode_native(
|
| for (s=0;s<st->layout.nb_streams;s++)
|
| {
|
| OpusDecoder *dec;
|
| - int packet_offset, ret;
|
| + opus_int32 packet_offset;
|
| + int ret;
|
|
|
| dec = (OpusDecoder*)ptr;
|
| ptr += (s < st->layout.nb_coupled_streams) ? align(coupled_size) : align(mono_size);
|
| @@ -425,6 +426,7 @@ int opus_multistream_decoder_ctl(OpusMSDecoder *st, int request, ...)
|
| case OPUS_GET_SAMPLE_RATE_REQUEST:
|
| case OPUS_GET_GAIN_REQUEST:
|
| case OPUS_GET_LAST_PACKET_DURATION_REQUEST:
|
| + case OPUS_GET_PHASE_INVERSION_DISABLED_REQUEST:
|
| {
|
| OpusDecoder *dec;
|
| /* For int32* GET params, just query the first stream */
|
| @@ -499,6 +501,7 @@ int opus_multistream_decoder_ctl(OpusMSDecoder *st, int request, ...)
|
| }
|
| break;
|
| case OPUS_SET_GAIN_REQUEST:
|
| + case OPUS_SET_PHASE_INVERSION_DISABLED_REQUEST:
|
| {
|
| int s;
|
| /* This works for int32 params */
|
|
|