From b4c4f6486244cc5e6817b37ef4a2e6983d0301c5 Mon Sep 17 00:00:00 2001
From: Jim Bankoski <jimbankoski@google.com>
Date: Thu, 6 Jun 2013 08:59:22 -0700
Subject: [PATCH] signs reverted

Change-Id: Ieface458c83eb6e7ee95595d9fc662f372117c9a
---
 vp9/encoder/vp9_rdopt.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vp9/encoder/vp9_rdopt.c b/vp9/encoder/vp9_rdopt.c
index c48f34ad75..c2fa480fc9 100644
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -2750,7 +2750,7 @@ int64_t vp9_rd_pick_inter_mode_sb(VP9_COMP *cpi, MACROBLOCK *x,
     // should fix this either by making the motion search just work on
     // a representative block in the boundary ( first ) and then implement a
     // function that does sads when inside the border..
-    if (((mi_row + bhs) < cm->mi_rows || (mi_col + bws) < cm->mi_cols) &&
+    if (((mi_row + bhs) > cm->mi_rows || (mi_col + bws) > cm->mi_cols) &&
         this_mode == NEWMV) {
       continue;
     }
-- 
GitLab