From: Vignesh Venkatasubramanian Date: Wed, 30 Apr 2014 22:15:47 +0000 (-0700) Subject: webmdec: Fix visual studio warnings. X-Git-Tag: v1.4.0~1633^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e39b9a66a31fdc5371fb94b757867f61adacb81c;p=libvpx webmdec: Fix visual studio warnings. Fix a couple of visual studio warnings. Change-Id: I161edf4b37f5ac2defbe6eb5b7e34d219b1f52d9 --- diff --git a/webmdec.cc b/webmdec.cc index eb89befd8..4383e8efd 100644 --- a/webmdec.cc +++ b/webmdec.cc @@ -108,8 +108,8 @@ int file_is_webm(struct WebmInputContext *webm_ctx, 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(video_track->GetWidth()); + vpx_ctx->height = static_cast(video_track->GetHeight()); get_first_cluster(webm_ctx);