]> granicus.if.org Git - libvpx/commitdiff
fix a typo
authorYaowu Xu <yaowu@google.com>
Fri, 7 Jun 2013 05:25:13 +0000 (22:25 -0700)
committerYaowu Xu <yaowu@google.com>
Fri, 7 Jun 2013 05:25:13 +0000 (22:25 -0700)
Change-Id: I8fd21e3a8435b873c5687d8b273922fc60988295

vp9/encoder/vp9_encodeframe.c

index 26ec57ec29fa58a7fc519929d6dd1cb8e73413f2..ea86bba4f08d3d8523a984827c68ee040db4c140 100644 (file)
@@ -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;
     }