Commit 95dfd0bf authored by Zoe Liu's avatar Zoe Liu

Use the correct macro for the context number

Change-Id: I94f739840b90688506ebf5a4e7cf355cd6fb75ed
parent 85e75f15
......@@ -257,7 +257,7 @@ void av1_fill_mode_rates(AV1_COMMON *const cm, MACROBLOCK *x,
}
#if CONFIG_EXT_COMP_REFS
for (i = 0; i < REF_CONTEXTS; ++i) {
for (i = 0; i < COMP_REF_TYPE_CONTEXTS; ++i) {
av1_cost_tokens_from_cdf(x->comp_ref_type_cost[i],
fc->comp_ref_type_cdf[i], NULL);
}
......
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