Index: webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc |
diff --git a/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc b/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc |
index af073cd370f70c84b9cf56b61531a4550cacfa52..39c43c9b6d08d8d3b1473480c2df714c4f69dc58 100644 |
--- a/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc |
+++ b/webrtc/modules/video_coding/codecs/vp8/simulcast_rate_allocator.cc |
@@ -30,6 +30,7 @@ SimulcastRateAllocator::SimulcastRateAllocator( |
void SimulcastRateAllocator::OnTemporalLayersCreated(int simulcast_id, |
TemporalLayers* layers) { |
RTC_DCHECK(temporal_layers_.find(simulcast_id) == temporal_layers_.end()); |
+ RTC_DCHECK(layers); |
temporal_layers_[simulcast_id] = layers; |
} |