shithub: dav1d

Download patch

ref: f55cd4c6f3d57494c4cea5a3b56145981a28b0c5
parent: 1317e61939b89aac7fa0a7037bca0545cf1991e8
author: Marvin Scholz <epirat07@gmail.com>
date: Mon Jul 20 09:27:23 EDT 2020

dav1dplay: Fix type mismatch warning

--- a/examples/dp_renderer_placebo.c
+++ b/examples/dp_renderer_placebo.c
@@ -501,7 +501,7 @@
             .num_points_uv  = { src->num_uv_points[0], src->num_uv_points[1] },
             .scaling_shift  = src->scaling_shift,
             .ar_coeff_lag   = src->ar_coeff_lag,
-            .ar_coeff_shift = src->ar_coeff_shift,
+            .ar_coeff_shift = (int)src->ar_coeff_shift,
             .grain_scale_shift = src->grain_scale_shift,
             .uv_mult        = { src->uv_mult[0], src->uv_mult[1] },
             .uv_mult_luma   = { src->uv_luma_mult[0], src->uv_luma_mult[1] },