Commit 64ed2ce7 authored by Luc Trudeau's avatar Luc Trudeau

[CFL] Fix undeclared 'cm' when EC_ADAPT disabled

Change-Id: I9a9d7960b46dd80012fc8efdefb640939e1f1e48
parent 14af5b95
......@@ -2367,7 +2367,7 @@ static int64_t intra_model_yrd(const AV1_COMP *const cpi, MACROBLOCK *const x,
#if CONFIG_EC_ADAPT
FRAME_CONTEXT *const ec_ctx = xd->tile_ctx;
#else
FRAME_CONTEXT *const ec_ctx = cm->fc;
FRAME_CONTEXT *const ec_ctx = cpi->common.fc;
#endif // CONFIG_EC_ADAPT
av1_predict_intra_block_encoder_facade(x, ec_ctx, 0, block, col, row,
......
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