Commit f4656961 authored by Yunqing Wang's avatar Yunqing Wang Committed by Gerrit Code Review

Merge "Small improvement in sub-pixel motion search"

parents 5f138986 a3d22aa2
......@@ -735,7 +735,7 @@ int vp9_find_best_sub_pixel_tree(const MACROBLOCK *x,
bc = tc;
}
if (iters_per_step > 1)
if (iters_per_step > 1 && best_idx != -1)
SECOND_LEVEL_CHECKS;
tr = br;
......
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