Index: media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
diff --git a/media/cast/video_sender/codecs/vp8/vp8_encoder.cc b/media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
index eaf6fbd714b2e7e02fde0a78ff2379eac8012277..a0bdb1b6c0834bdd685431726b6bddbdb1b8e17f 100644 |
--- a/media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
+++ b/media/cast/video_sender/codecs/vp8/vp8_encoder.cc |
@@ -161,7 +161,7 @@ bool Vp8Encoder::Encode(const I420VideoFrame& input_image, |
int total_size = 0; |
while ((pkt = vpx_codec_get_cx_data(encoder_, &iter)) != NULL) { |
if (pkt->kind == VPX_CODEC_CX_FRAME_PKT) { |
- total_size += pkt->data.frame.sz; |
+ total_size += static_cast<int>(pkt->data.frame.sz); |
encoded_image->data.reserve(total_size); |
encoded_image->data.insert( |
encoded_image->data.end(), |