shithub: libvpx

Download patch

ref: 387bb8bed76eabe2f11877265e534fc2c9dc4256
parent: e2b4ef131312f2c649d159d21e2c486bdbac19b4
author: Yaowu Xu <yaowu@google.com>
date: Thu Feb 26 06:39:57 EST 2015

Correct parameter order in a function call

Change-Id: Ibd87db1c4371edcbe193d39df2fdc07d3842c21a

--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4077,7 +4077,7 @@
                          unsigned int height) {
   VP9_COMMON *cm = &cpi->common;
 #if CONFIG_VP9_HIGHBITDEPTH
-  check_initial_width(cpi, 1, 1, cm->use_highbitdepth);
+  check_initial_width(cpi, cm->use_highbitdepth, 1, 1);
 #else
   check_initial_width(cpi, 1, 1);
 #endif  // CONFIG_VP9_HIGHBITDEPTH