shithub: libvpx

Download patch

ref: e39b9a66a31fdc5371fb94b757867f61adacb81c
parent: 51a1cbfed1015bc120486e776c81d1c09f7f55fb
author: Vignesh Venkatasubramanian <vigneshv@google.com>
date: Wed Apr 30 11:15:47 EDT 2014

webmdec: Fix visual studio warnings.

Fix a couple of visual studio warnings.

Change-Id: I161edf4b37f5ac2defbe6eb5b7e34d219b1f52d9

--- a/webmdec.cc
+++ b/webmdec.cc
@@ -108,8 +108,8 @@
 
   vpx_ctx->framerate.denominator = 0;
   vpx_ctx->framerate.numerator = 0;
-  vpx_ctx->width = video_track->GetWidth();
-  vpx_ctx->height = video_track->GetHeight();
+  vpx_ctx->width = static_cast<uint32_t>(video_track->GetWidth());
+  vpx_ctx->height = static_cast<uint32_t>(video_track->GetHeight());
 
   get_first_cluster(webm_ctx);
 
--