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

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

Issue 62843002: Cast: Added support for AES-CTR crypto. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments Created 7 years, 1 month 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 26113cd3d6947f5185ec8e8af4c7bb540ec8965e..548a8051958ecff5d05acabe45f44e1f14e8232f 100644
--- a/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
+++ b/media/cast/video_receiver/codecs/vp8/vp8_decoder.cc
@@ -37,7 +37,7 @@ bool Vp8Decoder::Decode(const EncodedVideoFrame& input_image,
vpx_codec_iter_t iter = NULL;
vpx_image_t* img;
if (vpx_codec_decode(decoder_.get(),
- input_image.data.data(),
+ reinterpret_cast<const uint8*>(input_image.data.data()),
static_cast<unsigned int>(input_image.data.size()),
0,
1 /* real time*/)) {

Powered by Google App Engine
This is Rietveld 408576698