Fixing clang warning. Warning was: "implicit conversion from enumeration type 'VPX_SCALING_MODE' (aka 'enum vpx_scaling_mode_1d') to different enumeration type 'VPX_SCALING'". Change-Id: I45689e439a8775bc1e7534d0ea1ff7c729f2c7f5
diff --git a/vp9/vp9_cx_iface.c b/vp9/vp9_cx_iface.c index 0f12d88..4d39670 100644 --- a/vp9/vp9_cx_iface.c +++ b/vp9/vp9_cx_iface.c
@@ -995,8 +995,9 @@ if (data) { int res; vpx_scaling_mode_t scalemode = *(vpx_scaling_mode_t *)data; - res = vp9_set_internal_size(ctx->cpi, scalemode.h_scaling_mode, - scalemode.v_scaling_mode); + res = vp9_set_internal_size(ctx->cpi, + (VPX_SCALING)scalemode.h_scaling_mode, + (VPX_SCALING)scalemode.v_scaling_mode); if (!res) { return VPX_CODEC_OK;