Fix assertion of txk_type check
Change-Id: I6db5563ec4f4992a899090cf15c3f5f5125a0764
diff --git a/av1/encoder/encodemb.c b/av1/encoder/encodemb.c
index bc26cfc..f8057eb 100644
--- a/av1/encoder/encodemb.c
+++ b/av1/encoder/encodemb.c
@@ -668,7 +668,7 @@
xd->mi[0]->mbmi.txk_type[(blk_row << MAX_MIB_SIZE_LOG2) + blk_col] =
DCT_DCT;
#else
- assert(xd->mi[0]->mbmi.txk_type[blk_row << MAX_MIB_SIZE_LOG2 + blk_col] ==
+ assert(xd->mi[0]->mbmi.txk_type[(blk_row << MAX_MIB_SIZE_LOG2) + blk_col] ==
DCT_DCT);
#endif
}
@@ -954,8 +954,9 @@
xd->mi[0]->mbmi.txk_type[(blk_row << MAX_MIB_SIZE_LOG2) + blk_col] =
DCT_DCT;
#else
- assert(xd->mi[0]->mbmi.txk_type[blk_row << MAX_MIB_SIZE_LOG2 + blk_col] ==
- DCT_DCT);
+ assert(
+ xd->mi[0]->mbmi.txk_type[(blk_row << MAX_MIB_SIZE_LOG2) + blk_col] ==
+ DCT_DCT);
#endif
}
#endif // CONFIG_TXK_SEL