Commit 1640bfd4 authored by Angie Chiang's avatar Angie Chiang Committed by Yaowu Xu
Browse files

Fix assertion of txk_type check

Change-Id: I6db5563ec4f4992a899090cf15c3f5f5125a0764
parent 4b847e19
......@@ -668,7 +668,7 @@ static void encode_block(int plane, int block, int blk_row, int blk_col,
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 @@ void av1_encode_block_intra(int plane, int block, int blk_row, int blk_col,
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment