Index: webrtc/modules/audio_coding/acm2/codec_manager.cc |
diff --git a/webrtc/modules/audio_coding/acm2/codec_manager.cc b/webrtc/modules/audio_coding/acm2/codec_manager.cc |
index ad67377d42daf08a34fd445d3cd8b0deb0145ca7..81adf81a83cf46c9862fce7c371d28edb5085bf0 100644 |
--- a/webrtc/modules/audio_coding/acm2/codec_manager.cc |
+++ b/webrtc/modules/audio_coding/acm2/codec_manager.cc |
@@ -113,7 +113,7 @@ bool CodecManager::RegisterEncoder(const CodecInst& send_codec) { |
} |
send_codec_inst_ = rtc::Optional<CodecInst>(send_codec); |
- codec_stack_params_.speech_encoder = nullptr; // Caller must recreate it. |
+ codec_stack_params_.speech_encoder.reset(); // Caller must recreate it. |
return true; |
} |