shithub: libvpx

Download patch

ref: b6cefbf05263adab9b132f0db10197ad37ec1cab
parent: a925173da0244d81db91c98f603751c951fdf547
author: Yaowu Xu <[email protected]>
date: Thu Jan 21 06:19:08 EST 2016

Fix a typo in ctrl_set_render_size()

Change-Id: I6a7fa6d0ae8ce8de7b426189d5eb00413f21bc17

--- a/vp10/vp10_cx_iface.c
+++ b/vp10/vp10_cx_iface.c
@@ -1246,7 +1246,7 @@
   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);
 }