From: Yaowu Xu Date: Fri, 7 Jun 2013 05:25:13 +0000 (-0700) Subject: fix a typo X-Git-Tag: v1.3.0~1104^2~61 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e127bdc04c95324b5f871fc003fa86ca5138b7a2;p=libvpx fix a typo Change-Id: I8fd21e3a8435b873c5687d8b273922fc60988295 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 26ec57ec2..ea86bba4f 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; }