Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(381)

Unified Diff: media/cast/video_receiver/codecs/vp8/vp8_decoder.cc

Issue 25782002: Style fixes for cast_unittest to build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
diff --git a/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc b/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
index 93d3eb5c4aa998e3ecb7603996f8aabe2933ee26..c347018ed8ca62fb363bad0e9c1a0b131f487177 100644
--- a/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
+++ b/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
@@ -35,7 +35,7 @@ bool Vp8Decoder::Decode(const EncodedVideoFrame& input_image,
vpx_image_t* img;
if (vpx_codec_decode(decoder_.get(),
input_image.data.data(),
- input_image.data.size(),
+ static_cast<unsigned int>(input_image.data.size()),
hubbe 2013/10/02 19:44:52 Can we change the decode api to take a size_t?
Alpha Left Google 2013/10/02 19:56:23 Removed from this change.
0,
1 /* real time*/)) {
return false;

Powered by Google App Engine
This is Rietveld 408576698