summaryrefslogtreecommitdiff
path: root/source/libvpx/webmdec.cc
diff options
context:
space:
mode:
Diffstat (limited to 'source/libvpx/webmdec.cc')
-rw-r--r--source/libvpx/webmdec.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libvpx/webmdec.cc b/source/libvpx/webmdec.cc
index eb89bef..4383e8e 100644
--- a/source/libvpx/webmdec.cc
+++ b/source/libvpx/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<uint32_t>(video_track->GetWidth());
+ vpx_ctx->height = static_cast<uint32_t>(video_track->GetHeight());
get_first_cluster(webm_ctx);