Remove redundant check on single ref for motion mode Change-Id: Ia8321afd087f99371cdf07f3a03249580e09964d
diff --git a/av1/common/blockd.h b/av1/common/blockd.h index cf46f43..c9b54ba 100644 --- a/av1/common/blockd.h +++ b/av1/common/blockd.h
@@ -1259,7 +1259,8 @@ is_inter_mode(mbmi->mode) && mbmi->ref_frame[1] != INTRA_FRAME && is_motion_variation_allowed_compound(mbmi)) { if (!check_num_overlappable_neighbors(mbmi)) return SIMPLE_TRANSLATION; - if (!has_second_ref(mbmi) && mbmi->num_proj_ref[0] >= 1 && + assert(!has_second_ref(mbmi)); + if (mbmi->num_proj_ref[0] >= 1 && !av1_is_scaled(&(xd->block_refs[0]->sf))) { #if CONFIG_AMVR if (xd->cur_frame_force_integer_mv) {