From e127bdc04c95324b5f871fc003fa86ca5138b7a2 Mon Sep 17 00:00:00 2001
From: Yaowu Xu <yaowu@google.com>
Date: Thu, 6 Jun 2013 22:25:13 -0700
Subject: [PATCH] fix a typo

Change-Id: I8fd21e3a8435b873c5687d8b273922fc60988295
---
 vp9/encoder/vp9_encodeframe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index 26ec57ec29..ea86bba4f0 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -448,8 +448,8 @@ static void update_state(VP9_COMP *cpi,
       int i, j;
       for (j = 0; j < bh; ++j)
         for (i = 0; i < bw; ++i)
-          if ((xd->mb_to_right_edge >> (3 + LOG2_MI_SIZE)) + bw > j &&
-              (xd->mb_to_bottom_edge >> (3 + LOG2_MI_SIZE)) + bh > i)
+          if ((xd->mb_to_right_edge >> (3 + LOG2_MI_SIZE)) + bw > i &&
+              (xd->mb_to_bottom_edge >> (3 + LOG2_MI_SIZE)) + bh > j)
             xd->mode_info_context[mis * j + i].mbmi = *mbmi;
     }
 
-- 
GitLab