diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c index b1594e7f0cb2d442292af59c2fc87d8d24338a64..b8e3efb01b876909aef648d1615e94ae10c4cc54 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);