Fix MSVS warning This CL fixes one MSVS warning under the code related to speed feature simple_motion_search_rect_split Change-Id: I700941dcee8341bc37f421f058b6bc0c49b4cb81
diff --git a/av1/encoder/partition_strategy.c b/av1/encoder/partition_strategy.c index f846d59..c05c506 100644 --- a/av1/encoder/partition_strategy.c +++ b/av1/encoder/partition_strategy.c
@@ -308,7 +308,7 @@ // If the score is very low, prune rectangular split since it is unlikely to // occur. if (cpi->sf.part_sf.simple_motion_search_rect_split) { - const float scale = res_idx >= 2 ? 3 : 2; + const float scale = res_idx >= 2 ? 3.0f : 2.0f; const float rect_split_thresh = scale * av1_simple_motion_search_no_split_thresh [cpi->sf.part_sf.simple_motion_search_rect_split][res_idx]