summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2015-03-12 08:01:08 -0700
committerYaowu Xu <yaowu@google.com>2015-03-12 08:01:08 -0700
commit73508be3641cb5d6b1687e900ebf4ea373fe50da (patch)
tree1e5741e10ff86147734c84c3f3a5a67893adc485
parent0adc58037a8e47a4ecd230282fc75908db47ae9b (diff)
downloadlibvpx-73508be3641cb5d6b1687e900ebf4ea373fe50da.tar
libvpx-73508be3641cb5d6b1687e900ebf4ea373fe50da.tar.gz
libvpx-73508be3641cb5d6b1687e900ebf4ea373fe50da.tar.bz2
libvpx-73508be3641cb5d6b1687e900ebf4ea373fe50da.zip
Fix a typo introduced in #94401aff
This fixes all test vector failures Change-Id: Ie1a9fe0f023f7a0c7e89eb55df1b40ff65302adc
-rw-r--r--vp9/common/vp9_blockd.c2
1 files changed, 1 insertions, 1 deletions
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.