Commit 840c66ee authored by Angie Chiang's avatar Angie Chiang

Mute the warning when debug mode is on

tx_type will always greater or equal to DCT_DCT

Change-Id: If82a02621443b231a9bf30b47f5ad41975761f9a
parent 05b55f76
......@@ -1072,7 +1072,7 @@ static INLINE TX_TYPE av1_get_tx_type(PLANE_TYPE plane_type,
tx_type = intra_mode_to_tx_type_context[mbmi->uv_mode];
}
}
assert(tx_type >= DCT_DCT && tx_type < TX_TYPES);
assert(tx_type < TX_TYPES);
if (!av1_ext_tx_used[tx_set_type][tx_type]) return DCT_DCT;
return tx_type;
#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