Commit 1bf75bca authored by Joe Young's avatar Joe Young

Fix compile error if ref_mv is disabled.

Change-Id: I2290eea6dc0b57f8bd3416ceae52ed75c24dd6ab
parent 86437eff
......@@ -11364,6 +11364,7 @@ PALETTE_EXIT:
#endif // CONFIG_REF_MV
}
#if CONFIG_REF_MV
// Make sure that the ref_mv_idx is only nonzero when we're
// using a mode which can support ref_mv_idx
if (best_mbmode.ref_mv_idx != 0 &&
......@@ -11371,7 +11372,6 @@ PALETTE_EXIT:
best_mbmode.ref_mv_idx = 0;
}
#if CONFIG_REF_MV
{
int8_t ref_frame_type = av1_ref_frame_type(best_mbmode.ref_frame);
int16_t mode_ctx = mbmi_ext->mode_context[ref_frame_type];
......
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