ref: 014a2c17df2c175a3d6f991d3d004438fdb88008
parent: 042c475a8f3ca660658c68a3fadb65cbfdf82495
author: Guillaume Martres <[email protected]>
date: Fri Oct 4 08:03:44 EDT 2013
Fix first pass for non-square blocks Change-Id: Ic049f0a6ce190f33859118e7b8cfcfe305979102
--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -569,7 +569,7 @@
mb_row << 1,
1 << mi_height_log2(xd->this_mi->mbmi.sb_type),
mb_col << 1,
- 1 << mi_height_log2(xd->this_mi->mbmi.sb_type));
+ 1 << mi_width_log2(xd->this_mi->mbmi.sb_type));
// do intra 16x16 prediction
this_error = vp9_encode_intra(x, use_dc_pred);