]> granicus.if.org Git - libvpx/commitdiff
intrabc: Fix mismatch introduced by 85a7485.
authorAlex Converse <aconverse@google.com>
Wed, 3 Jun 2015 20:07:49 +0000 (13:07 -0700)
committerAlex Converse <aconverse@google.com>
Wed, 3 Jun 2015 20:07:49 +0000 (13:07 -0700)
Change-Id: I1ea51ebbd1e3cb60a13a30e3252253493c28baec

vp9/encoder/vp9_rdopt.c

index 01d24a27427f75903cfeaec407169da036c724d7..99fa7dba7723f4d42dc670c738a1eb205461079c 100644 (file)
@@ -1537,10 +1537,9 @@ static void intrabc_search(VP9_COMP *cpi, MACROBLOCK *x,
       tmp_mv->as_mv.row = tmp_mv->as_mv.row / 2 * 2;
       tmp_mv->as_mv.col = tmp_mv->as_mv.col / 2 * 2;
 #endif  // ODD_PEL_DV
-    } else {
-      tmp_mv->as_mv.row *= 8;
-      tmp_mv->as_mv.col *= 8;
     }
+    tmp_mv->as_mv.row *= 8;
+    tmp_mv->as_mv.col *= 8;
   }
   *rate_mv = vp9_mv_bit_cost(&tmp_mv->as_mv, &ref_mv,
                              x->nmvjointcost, x->ndvcost, MV_COST_WEIGHT);