Commit 97dd6ca0 authored by Yushin Cho's avatar Yushin Cho
Browse files

Fix compile error in inc_mvs()

When CONFIG_EXT_INTER is disbaled, an instane of struct nmv_context is
passed inc_mv_cdf() instead of its pointer type.

Change-Id: I5a51c4065a1493e2e2a544d243907672614752a7
parent 6a93b155
......@@ -409,7 +409,7 @@ static void inc_mvs(const MB_MODE_INFO *mbmi, const MB_MODE_INFO_EXT *mbmi_ext,
const MV diff = { mvs[i].as_mv.row - ref->row,
mvs[i].as_mv.col - ref->col };
av1_inc_mv(&diff, counts, 1);
inc_mv_cdf(&diff, fc->nmvc[nmv_ctx], 1);
inc_mv_cdf(&diff, &fc->nmvc[nmv_ctx], 1);
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