shithub: libvpx

Download patch

ref: 73508be3641cb5d6b1687e900ebf4ea373fe50da
parent: 0adc58037a8e47a4ecd230282fc75908db47ae9b
author: Yaowu Xu <yaowu@google.com>
date: Thu Mar 12 04:01:08 EDT 2015

Fix a typo introduced in #94401aff

This fixes all test vector failures

Change-Id: Ie1a9fe0f023f7a0c7e89eb55df1b40ff65302adc

--- a/vp9/common/vp9_blockd.c
+++ b/vp9/common/vp9_blockd.c
@@ -58,7 +58,7 @@
   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.