]> granicus.if.org Git - libvpx/commitdiff
Fix yet another typo in splitmv/tx_select code.
authorRonald S. Bultje <rbultje@google.com>
Thu, 25 Oct 2012 16:17:47 +0000 (09:17 -0700)
committerRonald S. Bultje <rbultje@google.com>
Thu, 25 Oct 2012 16:17:47 +0000 (09:17 -0700)
Change-Id: I6a28cc87af275fc267b3cc8d90d642dcc870c249

vp8/encoder/rdopt.c

index b1594e7f0cb2d442292af59c2fc87d8d24338a64..b8e3efb01b876909aef648d1615e94ae10c4cc54 100644 (file)
@@ -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);