Commit ab8bf508 authored by Debargha Mukherjee's avatar Debargha Mukherjee

Fix compile conflict w/ unpoison-partition-context

Fixes compile failures with unpoison-partition-context and
ext-partition-types.

Change-Id: Ibedab7d927d6bf7329a5fc5a3050aa6272d4b254
parent 0d9888bd
......@@ -3350,6 +3350,12 @@ static void rd_test_partition3(
MACROBLOCK *const x = &td->mb;
MACROBLOCKD *const xd = &x->e_mbd;
RD_STATS sum_rdc, this_rdc;
#if CONFIG_UNPOISON_PARTITION_CTX
const AV1_COMMON *const cm = &cpi->common;
const int hbs = mi_size_wide[bsize] / 2;
const int has_rows = mi_row + hbs < cm->mi_rows;
const int has_cols = mi_col + hbs < cm->mi_cols;
#endif // CONFIG_UNPOISON_PARTITION_CTX
#if CONFIG_SUPERTX || CONFIG_EXT_PARTITION_TYPES_AB
const AV1_COMMON *const cm = &cpi->common;
#endif
......
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