Index: webrtc/audio/audio_send_stream.cc |
diff --git a/webrtc/audio/audio_send_stream.cc b/webrtc/audio/audio_send_stream.cc |
index d413a962b70dcbc9c36c81b0035b3ada98d87fa1..e95c5e717c58643bfb1d74aebe835c3d70c02bc5 100644 |
--- a/webrtc/audio/audio_send_stream.cc |
+++ b/webrtc/audio/audio_send_stream.cc |
@@ -388,6 +388,8 @@ bool AudioSendStream::SetupSendCodec(AudioSendStream* stream, |
const Config& new_config) { |
RTC_DCHECK(new_config.send_codec_spec); |
const auto& spec = *new_config.send_codec_spec; |
+ |
+ RTC_DCHECK(new_config.encoder_factory); |
ossu
2017/05/09 15:45:41
Might as well move this one just below the check o
|
std::unique_ptr<AudioEncoder> encoder = |
new_config.encoder_factory->MakeAudioEncoder(spec.payload_type, |
spec.format); |