Index: webrtc/modules/video_coding/video_codec_initializer.cc |
diff --git a/webrtc/modules/video_coding/video_codec_initializer.cc b/webrtc/modules/video_coding/video_codec_initializer.cc |
index c6db91619bf7ae3f5a7d6dd6a3f4e54c99719828..dbdede07add64ef8a6ebe7a6b107aa6ebd062dfe 100644 |
--- a/webrtc/modules/video_coding/video_codec_initializer.cc |
+++ b/webrtc/modules/video_coding/video_codec_initializer.cc |
@@ -164,7 +164,7 @@ VideoCodec VideoCodecInitializer::VideoEncoderConfigToVideoCodec( |
video_codec.minBitrate = streams[0].min_bitrate_bps / 1000; |
if (video_codec.minBitrate < kEncoderMinBitrateKbps) |
video_codec.minBitrate = kEncoderMinBitrateKbps; |
- RTC_DCHECK_LE(streams.size(), static_cast<size_t>(kMaxSimulcastStreams)); |
+ RTC_DCHECK_LE(streams.size(), kMaxSimulcastStreams); |
if (video_codec.codecType == kVideoCodecVP9) { |
// If the vector is empty, bitrates will be configured automatically. |
RTC_DCHECK(config.spatial_layers.empty() || |