shithub: libvpx

Download patch

ref: 2c4f616a6183e9d2ff0fcb2dabd3b111c2bae4d3
parent: b4cdcd6ea66bcfd8e5db62ee8fbc5d5511fb88d4
author: Ronald S. Bultje <rbultje@google.com>
date: Thu Oct 25 05:17:47 EDT 2012

Fix yet another typo in splitmv/tx_select code.

Change-Id: I6a28cc87af275fc267b3cc8d90d642dcc870c249

--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -2226,7 +2226,7 @@
   }
   *distortion >>= 2;
   if (otherrd) {
-    othercost >>= 2;
+    otherdist >>= 2;
     *otherrd = RDCOST(x->rdmult, x->rddiv, othercost, otherdist);
   }
   return RDCOST(x->rdmult, x->rddiv, *labelyrate, *distortion);
--