]> granicus.if.org Git - libvpx/blobdiff - webmdec.cc
iosbuild.sh: Add vpx_config.h and vpx_version.h to VPX.framework.
[libvpx] / webmdec.cc
index eb89befd8810f6b314f01bb9894ac220cc9d5878..4383e8efd8d995e4ba327493935fd6f1ee2dc6dd 100644 (file)
@@ -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<uint32_t>(video_track->GetWidth());
+  vpx_ctx->height = static_cast<uint32_t>(video_track->GetHeight());
 
   get_first_cluster(webm_ctx);