Index: webrtc/modules/audio_coding/codecs/opus/opus_interface.c |
diff --git a/webrtc/modules/audio_coding/codecs/opus/opus_interface.c b/webrtc/modules/audio_coding/codecs/opus/opus_interface.c |
index e2a8383c4b665da3982843be94a360946d4f8d49..4f6e22f77d021a7161f2977f8404c34af43208a3 100644 |
--- a/webrtc/modules/audio_coding/codecs/opus/opus_interface.c |
+++ b/webrtc/modules/audio_coding/codecs/opus/opus_interface.c |
@@ -250,13 +250,9 @@ int WebRtcOpus_DecoderChannels(OpusDecInst* inst) { |
return inst->channels; |
} |
-int16_t WebRtcOpus_DecoderInit(OpusDecInst* inst) { |
- int error = opus_decoder_ctl(inst->decoder, OPUS_RESET_STATE); |
- if (error == OPUS_OK) { |
- inst->in_dtx_mode = 0; |
- return 0; |
- } |
- return -1; |
+void WebRtcOpus_DecoderInit(OpusDecInst* inst) { |
+ opus_decoder_ctl(inst->decoder, OPUS_RESET_STATE); |
+ inst->in_dtx_mode = 0; |
} |
/* For decoder to determine if it is to output speech or comfort noise. */ |