Use macro to set txk_type
This will make txk_sel support maximum bsize to 128x128
Change-Id: I33941966cb1ae4406ac68a2124c859c833a084d8
diff --git a/av1/decoder/decodemv.c b/av1/decoder/decodemv.c
index 677dfae..085ddd9 100644
--- a/av1/decoder/decodemv.c
+++ b/av1/decoder/decodemv.c
@@ -933,7 +933,7 @@
// only y plane's tx_type is transmitted
if (plane > 0) return;
(void)block;
- TX_TYPE *tx_type = &mbmi->txk_type[(blk_row << 4) + blk_col];
+ TX_TYPE *tx_type = &mbmi->txk_type[(blk_row << MAX_MIB_SIZE_LOG2) + blk_col];
#endif
if (!FIXED_TX_TYPE) {