| Index: webrtc/modules/audio_coding/acm2/acm_receiver.cc
|
| diff --git a/webrtc/modules/audio_coding/acm2/acm_receiver.cc b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
|
| index afd1ff44f6dee3dbe4c98340310d83af6a019b81..89eee00fc37edc10d715f1720ff193688d863b8d 100644
|
| --- a/webrtc/modules/audio_coding/acm2/acm_receiver.cc
|
| +++ b/webrtc/modules/audio_coding/acm2/acm_receiver.cc
|
| @@ -202,8 +202,7 @@ int32_t AcmReceiver::AddCodec(int acm_codec_id,
|
|
|
| rtc::CritScope lock(&crit_sect_);
|
|
|
| - const SdpAudioFormat* const old_format =
|
| - neteq_->GetDecoderFormat(payload_type);
|
| + const auto old_format = neteq_->GetDecoderFormat(payload_type);
|
| if (old_format && new_format && *old_format == *new_format) {
|
| // Re-registering the same codec. Do nothing and return.
|
| return 0;
|
|
|