| Index: webrtc/modules/audio_coding/acm2/rent_a_codec.cc
|
| diff --git a/webrtc/modules/audio_coding/acm2/rent_a_codec.cc b/webrtc/modules/audio_coding/acm2/rent_a_codec.cc
|
| index f37b12c181e4036f05fb3e7ad1a53ffdd9b2e35e..71d34d106827f3afa39cc9f4755264b467e27331 100644
|
| --- a/webrtc/modules/audio_coding/acm2/rent_a_codec.cc
|
| +++ b/webrtc/modules/audio_coding/acm2/rent_a_codec.cc
|
| @@ -294,10 +294,8 @@ std::unique_ptr<AudioEncoder> RentACodec::RentEncoderStack(
|
| return encoder_stack;
|
| }
|
|
|
| -AudioDecoder* RentACodec::RentIsacDecoder() {
|
| - if (!isac_decoder_)
|
| - isac_decoder_ = CreateIsacDecoder(&isac_bandwidth_info_);
|
| - return isac_decoder_.get();
|
| +std::unique_ptr<AudioDecoder> RentACodec::RentIsacDecoder() {
|
| + return CreateIsacDecoder(&isac_bandwidth_info_);
|
| }
|
|
|
| } // namespace acm2
|
|
|