From b6cefbf05263adab9b132f0db10197ad37ec1cab Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Thu, 21 Jan 2016 11:19:08 -0800 Subject: [PATCH] Fix a typo in ctrl_set_render_size() Change-Id: I6a7fa6d0ae8ce8de7b426189d5eb00413f21bc17 --- vp10/vp10_cx_iface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp10/vp10_cx_iface.c b/vp10/vp10_cx_iface.c index 21c9c0355..63d3adc1f 100644 --- a/vp10/vp10_cx_iface.c +++ b/vp10/vp10_cx_iface.c @@ -1246,7 +1246,7 @@ static vpx_codec_err_t ctrl_set_render_size(vpx_codec_alg_priv_t *ctx, struct vp10_extracfg extra_cfg = ctx->extra_cfg; int *const render_size = va_arg(args, int *); extra_cfg.render_width = render_size[0]; - extra_cfg.render_height = render_size[0]; + extra_cfg.render_height = render_size[1]; return update_extra_cfg(ctx, &extra_cfg); }