Commit 492c7957 authored by Jingning Han's avatar Jingning Han
Browse files

Fix compiler error in mfmv

Fix compiler error in mfmv when ext-refs is off.

Change-Id: Id345962f8efe352ff305f5c75e6d0afdfe5460a8
parent a97c897b
......@@ -1431,14 +1431,13 @@ void av1_setup_motion_field(AV1_COMMON *cm) {
int gld_offset = AOMMAX(1, alt_frame_index - gld_frame_idx);
int cur_to_alt = alt_frame_index - cur_frame_index;
int cur_to_lst = cur_frame_index - lst_frame_index;
int cur_to_gld = cur_frame_index - gld_frame_index;
#if CONFIG_EXT_REFS
int bwd_offset = AOMMAX(1, alt_frame_index - bwd_frame_idx);
int lst2_offset = AOMMAX(1, alt_frame_index - lst2_frame_idx);
int lst3_offset = AOMMAX(1, alt_frame_index - lst3_frame_idx);
int cur_to_lst2 = cur_frame_index - lst2_frame_index;
int cur_to_lst3 = cur_frame_index - lst3_frame_index;
int cur_to_gld = cur_frame_index - gld_frame_index;
int cur_to_bwd = bwd_frame_index - cur_frame_index;
#endif
const int ref_stamp = FWD_RF_OFFSET(ALTREF_FRAME);
......
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