Index: webrtc/modules/audio_coding/neteq/decoder_database.cc |
diff --git a/webrtc/modules/audio_coding/neteq/decoder_database.cc b/webrtc/modules/audio_coding/neteq/decoder_database.cc |
index 18eee067e3d1cfdf84c1cda0fea6b3864ced0a44..97dc00d7a6854bf6ee5ccc24b56177d6dd8ddc5c 100644 |
--- a/webrtc/modules/audio_coding/neteq/decoder_database.cc |
+++ b/webrtc/modules/audio_coding/neteq/decoder_database.cc |
@@ -72,7 +72,6 @@ int DecoderDatabase::InsertExternal(uint8_t rtp_payload_type, |
if (!decoder) { |
return kInvalidPointer; |
} |
- decoder->Init(); |
std::pair<DecoderMap::iterator, bool> ret; |
DecoderInfo info(codec_type, fs_hz, decoder, true); |
ret = decoders_.insert(std::make_pair(rtp_payload_type, info)); |
@@ -136,7 +135,6 @@ AudioDecoder* DecoderDatabase::GetDecoder(uint8_t rtp_payload_type) { |
AudioDecoder* decoder = CreateAudioDecoder(info->codec_type); |
assert(decoder); // Should not be able to have an unsupported codec here. |
info->decoder = decoder; |
- info->decoder->Init(); |
} |
return info->decoder; |
} |