Index: webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h |
diff --git a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h |
index 93fbde9c48db5785b49996a75d6fe4aa8a64d8ff..98f3ed9652bf7b2f797a639f3d614f875c4fd3bf 100644 |
--- a/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h |
+++ b/webrtc/modules/audio_coding/codecs/isac/audio_encoder_isac_t_impl.h |
@@ -185,7 +185,7 @@ template <typename T> |
AudioDecoderIsacT<T>::AudioDecoderIsacT(LockedIsacBandwidthInfo* bwinfo) |
: bwinfo_(bwinfo), decoder_sample_rate_hz_(-1) { |
CHECK_EQ(0, T::Create(&isac_state_)); |
- CHECK_EQ(0, T::DecoderInit(isac_state_)); |
+ T::DecoderInit(isac_state_); |
if (bwinfo_) { |
IsacBandwidthInfo bwinfo; |
T::GetBandwidthInfo(isac_state_, &bwinfo); |
@@ -232,8 +232,8 @@ size_t AudioDecoderIsacT<T>::DecodePlc(size_t num_frames, int16_t* decoded) { |
} |
template <typename T> |
-int AudioDecoderIsacT<T>::Init() { |
- return T::DecoderInit(isac_state_); |
+void AudioDecoderIsacT<T>::Reset() { |
+ T::DecoderInit(isac_state_); |
} |
template <typename T> |