shithub: libvpx

Download patch

ref: e127bdc04c95324b5f871fc003fa86ca5138b7a2
parent: 472669befb732396e10e15270059205683c73b8f
author: Yaowu Xu <yaowu@google.com>
date: Thu Jun 6 18:25:13 EDT 2013

fix a typo

Change-Id: I8fd21e3a8435b873c5687d8b273922fc60988295

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -448,8 +448,8 @@
       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;
     }
 
--