Fix reference frame mvs access Resolve an enc/dec mismatch issue when tmv is off and mfmv is on. Change-Id: Ia64005acd85f51d3162baafab1540095ad06187d
diff --git a/av1/common/mvref_common.c b/av1/common/mvref_common.c index 1cdefb5..e5faaab 100644 --- a/av1/common/mvref_common.c +++ b/av1/common/mvref_common.c
@@ -962,7 +962,7 @@ int different_ref_found = 0; int context_counter = 0; -#if CONFIG_TMV +#if CONFIG_TMV || CONFIG_MFMV int tmi_row = mi_row & 0xfffe; int tmi_col = mi_col & 0xfffe; POSITION mi_pos = { 0, 0 };