From: Yaowu Xu Date: Thu, 12 Mar 2015 15:01:08 +0000 (-0700) Subject: Fix a typo introduced in #94401aff X-Git-Tag: v1.4.0~56 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=73508be3641cb5d6b1687e900ebf4ea373fe50da;p=libvpx Fix a typo introduced in #94401aff This fixes all test vector failures Change-Id: Ie1a9fe0f023f7a0c7e89eb55df1b40ff65302adc --- diff --git a/vp9/common/vp9_blockd.c b/vp9/common/vp9_blockd.c index caec1dad5..3cd9f44e9 100644 --- a/vp9/common/vp9_blockd.c +++ b/vp9/common/vp9_blockd.c @@ -58,7 +58,7 @@ void vp9_foreach_transformed_block_in_plane( const int max_blocks_wide = num_4x4_w + (xd->mb_to_right_edge >= 0 ? 0 : xd->mb_to_right_edge >> (5 + pd->subsampling_x)); const int max_blocks_high = num_4x4_h + (xd->mb_to_bottom_edge >= 0 ? 0 : - xd->mb_to_bottom_edge >> (5 + pd->subsampling_x)); + xd->mb_to_bottom_edge >> (5 + pd->subsampling_y)); // Keep track of the row and column of the blocks we use so that we know // if we are in the unrestricted motion border.