Index: webrtc/call/call.cc |
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc |
index 730233590f82f22567f500d5eea4a9859af8daf0..bb83b7201671488289d4df52344cee29b5ebc931 100644 |
--- a/webrtc/call/call.cc |
+++ b/webrtc/call/call.cc |
@@ -682,17 +682,9 @@ webrtc::VideoReceiveStream* Call::CreateVideoReceiveStream( |
TRACE_EVENT0("webrtc", "Call::CreateVideoReceiveStream"); |
RTC_DCHECK(configuration_thread_checker_.CalledOnValidThread()); |
- bool protected_by_flexfec = false; |
- { |
- ReadLockScoped read_lock(*receive_crit_); |
- protected_by_flexfec = |
- flexfec_receive_ssrcs_media_.find(configuration.rtp.remote_ssrc) != |
- flexfec_receive_ssrcs_media_.end(); |
- } |
VideoReceiveStream* receive_stream = new VideoReceiveStream( |
- num_cpu_cores_, protected_by_flexfec, |
- &packet_router_, std::move(configuration), module_process_thread_.get(), |
- call_stats_.get(), &remb_); |
+ num_cpu_cores_, &packet_router_, std::move(configuration), |
+ module_process_thread_.get(), call_stats_.get(), &remb_); |
const webrtc::VideoReceiveStream::Config& config = receive_stream->config(); |
ReceiveRtpConfig receive_config(config.rtp.extensions, |