Commit 766c9d59 authored by Rupert Swarbrick's avatar Rupert Swarbrick

Fix unused parameter warning in decodemv.c

This warning only comes up if none of the experiments ext-intra,
palette and filter-intra are enabled.

Change-Id: Ic58863d8d845034aa52230bf52a3c5def8d3ac0f
parent bdc8dab2
......@@ -1819,6 +1819,10 @@ static void read_intra_block_mode_info(AV1_COMMON *const cm, const int mi_row,
}
#endif
// Explicitly ignore cm here to avoid a compile warning if none of
// ext-intra, palette and filter-intra are enabled.
(void)cm;
#if CONFIG_EXT_INTRA
read_intra_angle_info(cm, xd, r);
#endif // CONFIG_EXT_INTRA
......
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