| 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 b189e4bb562ae77872ce3380dfbb977d3bd4756a..f5fbad34460d7dcaf48c69897659af05791884cc 100644
|
| --- a/webrtc/modules/audio_coding/neteq/decoder_database.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/decoder_database.cc
|
| @@ -169,6 +169,12 @@ int DecoderDatabase::Remove(uint8_t rtp_payload_type) {
|
| return kOK;
|
| }
|
|
|
| +void DecoderDatabase::RemoveAll() {
|
| + decoders_.clear();
|
| + active_decoder_type_ = -1; // No active decoder.
|
| + active_cng_decoder_type_ = -1; // No active CNG decoder.
|
| +}
|
| +
|
| const DecoderDatabase::DecoderInfo* DecoderDatabase::GetDecoderInfo(
|
| uint8_t rtp_payload_type) const {
|
| DecoderMap::const_iterator it = decoders_.find(rtp_payload_type);
|
|
|