ref: f4656961ca4246979ea16d6c104c0931df2b9935
parent: 5f138986fcf3c40bcdd3058c4f42c7e35a606885
parent: a3d22aa2a4e9946f5dd5e0e77c351511fb5d97ec
author: Yunqing Wang <yunqingwang@google.com>
date: Tue Aug 4 16:59:30 EDT 2015
Merge "Small improvement in sub-pixel motion search"
--- a/vp9/encoder/vp9_mcomp.c
+++ b/vp9/encoder/vp9_mcomp.c
@@ -735,7 +735,7 @@
bc = tc;
}
- if (iters_per_step > 1)
+ if (iters_per_step > 1 && best_idx != -1)
SECOND_LEVEL_CHECKS;
tr = br;