Modify rd cost comparison in skip_repeated_newmv for consistency
Update best_mbmi only if compare_cost > this_cost. So that rd
cost comparison is in consistent with other places.
STATS_CHANGED
Change-Id: I74cebd5b581eb1081733091af8bde3c66daa847c
diff --git a/av1/encoder/rdopt.c b/av1/encoder/rdopt.c
index 562169f..10d955f 100644
--- a/av1/encoder/rdopt.c
+++ b/av1/encoder/rdopt.c
@@ -11065,7 +11065,7 @@
x->mv_cost_stack, MV_COST_WEIGHT);
const int this_cost = this_rate_mv + drl_cost;
- if (compare_cost < this_cost) {
+ if (compare_cost <= this_cost) {
skip = 1;
break;
} else {