Commit cd94eee4 authored by Dmitry Kovalev's avatar Dmitry Kovalev
Browse files

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
parent b4139d58
...@@ -995,8 +995,9 @@ static vpx_codec_err_t vp9e_set_scalemode(vpx_codec_alg_priv_t *ctx, ...@@ -995,8 +995,9 @@ static vpx_codec_err_t vp9e_set_scalemode(vpx_codec_alg_priv_t *ctx,
if (data) { if (data) {
int res; int res;
vpx_scaling_mode_t scalemode = *(vpx_scaling_mode_t *)data; vpx_scaling_mode_t scalemode = *(vpx_scaling_mode_t *)data;
res = vp9_set_internal_size(ctx->cpi, scalemode.h_scaling_mode, res = vp9_set_internal_size(ctx->cpi,
scalemode.v_scaling_mode); (VPX_SCALING)scalemode.h_scaling_mode,
(VPX_SCALING)scalemode.v_scaling_mode);
if (!res) { if (!res) {
return VPX_CODEC_OK; return VPX_CODEC_OK;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment