Minor style fix to please internal style tool.

TBR=sprang@webrtc.org
BUG=None

Review-Url: https://codereview.webrtc.org/2654033006
Cr-Commit-Position: refs/heads/master@{#16301}
This commit is contained in:
aleloi 2017-01-26 07:57:15 -08:00 committed by Commit bot
parent c3c82362f7
commit 4703741e49

View File

@ -103,7 +103,7 @@ VideoCodec VideoCodecInitializer::VideoEncoderConfigToVideoCodec(
break;
case VideoEncoderConfig::ContentType::kScreen:
video_codec.mode = kScreensharing;
if (streams.size() >= 1 &&
if (!streams.empty() &&
streams[0].temporal_layer_thresholds_bps.size() == 1) {
video_codec.targetBitrate =
streams[0].temporal_layer_thresholds_bps[0] / 1000;