Index: source/libvpx/vp9/common/vp9_pred_common.c |
=================================================================== |
--- source/libvpx/vp9/common/vp9_pred_common.c (revision 292072) |
+++ source/libvpx/vp9/common/vp9_pred_common.c (working copy) |
@@ -348,7 +348,7 @@ |
// left of the entries corresponding to real blocks. |
// The prediction flags in these dummy entries are initialized to 0. |
int vp9_get_tx_size_context(const MACROBLOCKD *xd) { |
- const int max_tx_size = max_txsize_lookup[xd->mi[0]->mbmi.sb_type]; |
+ const int max_tx_size = max_txsize_lookup[xd->mi[0].src_mi->mbmi.sb_type]; |
const MB_MODE_INFO *const above_mbmi = get_mbmi(get_above_mi(xd)); |
const MB_MODE_INFO *const left_mbmi = get_mbmi(get_left_mi(xd)); |
const int has_above = above_mbmi != NULL; |