From 2c4f616a6183e9d2ff0fcb2dabd3b111c2bae4d3 Mon Sep 17 00:00:00 2001
From: "Ronald S. Bultje" <rbultje@google.com>
Date: Thu, 25 Oct 2012 09:17:47 -0700
Subject: [PATCH] Fix yet another typo in splitmv/tx_select code.

Change-Id: I6a28cc87af275fc267b3cc8d90d642dcc870c249
---
 vp8/encoder/rdopt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c
index b1594e7f0c..b8e3efb01b 100644
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -2226,7 +2226,7 @@ static int64_t encode_inter_mb_segment_8x8(MACROBLOCK *x,
   }
   *distortion >>= 2;
   if (otherrd) {
-    othercost >>= 2;
+    otherdist >>= 2;
     *otherrd = RDCOST(x->rdmult, x->rddiv, othercost, otherdist);
   }
   return RDCOST(x->rdmult, x->rddiv, *labelyrate, *distortion);
-- 
GitLab