shithub: libvpx

Download patch

ref: a50c8bbaf5116bf202813a2f3f563734503af187
parent: e9f90513940fc5205c7842cabf63f036de606bce
parent: 35e8fa1458cefdf04591dd3382728c403198c2a0
author: Deb Mukherjee <[email protected]>
date: Thu Oct 2 05:22:22 EDT 2014

Merge "rdmult data type change to fix high bit-depth"

--- a/vp9/encoder/vp9_rd.c
+++ b/vp9/encoder/vp9_rd.c
@@ -136,7 +136,7 @@
 };
 
 int vp9_compute_rd_mult(const VP9_COMP *cpi, int qindex) {
-  const int q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth);
+  const int64_t q = vp9_dc_quant(qindex, 0, cpi->common.bit_depth);
 #if CONFIG_VP9_HIGHBITDEPTH
   int rdmult = 0;
   switch (cpi->common.bit_depth) {