| Index: webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc
|
| diff --git a/webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc b/webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc
|
| index bc7197d8e79055ea98971a7d259d1b38a170e31e..85458e8120f57d96df50a6bf193e57720645bdde 100644
|
| --- a/webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc
|
| +++ b/webrtc/modules/audio_coding/acm2/audio_coding_module_impl.cc
|
| @@ -710,7 +710,7 @@ int AudioCodingModuleImpl::RegisterReceiveCodec(const CodecInst& codec) {
|
| rtc::CritScope lock(&acm_crit_sect_);
|
| auto* ef = encoder_factory_.get();
|
| return RegisterReceiveCodecUnlocked(
|
| - codec, [ef] { return ef->rent_a_codec.RentIsacDecoder(); });
|
| + codec, [&] { return ef->rent_a_codec.RentIsacDecoder(codec.plfreq); });
|
| }
|
|
|
| int AudioCodingModuleImpl::RegisterReceiveCodec(
|
|
|