| Index: webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl.cc b/webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| index b60f1b86e58a1cf05dd97eb3511edb607a8867fa..c3b7b4d902e3608cdd21f2198063286404b5913b 100644
|
| --- a/webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| +++ b/webrtc/modules/audio_coding/neteq/neteq_impl.cc
|
| @@ -480,7 +480,7 @@ rtc::Optional<CodecInst> NetEqImpl::GetDecoder(int payload_type) const {
|
| ci.pltype = payload_type;
|
| std::strncpy(ci.plname, di->name.c_str(), sizeof(ci.plname));
|
| ci.plname[sizeof(ci.plname) - 1] = '\0';
|
| - ci.plfreq = di->IsRed() || di->IsDtmf() ? 8000 : di->SampleRateHz();
|
| + ci.plfreq = di->IsRed() ? 8000 : di->SampleRateHz();
|
| AudioDecoder* const decoder = di->GetDecoder();
|
| ci.channels = decoder ? decoder->Channels() : 1;
|
| return rtc::Optional<CodecInst>(ci);
|
|
|