Commit 8ac57e6b authored by Thomas Daede's avatar Thomas Daede

Fix buliding with INTRABC and without FILTER_INTRA.

parent 7998e067
......@@ -2710,8 +2710,10 @@ static int intra_mode_info_cost_y(const AV1_COMP *cpi, const MACROBLOCK *x,
// Can only activate one mode.
#if CONFIG_INTRABC
const int use_intrabc = mbmi->use_intrabc;
#if CONFIG_FILTER_INTRA
assert(((mbmi->mode != DC_PRED) + use_palette + use_intrabc +
use_filter_intra) <= 1);
#endif
#else
assert((mbmi->mode != DC_PRED) + use_palette + use_filter_intra <= 1);
#endif // CONFIG_INTRABC
......
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