From 913ade461b98daa29001219bf2bea8751a19030e Mon Sep 17 00:00:00 2001 From: SanteriS Date: Thu, 12 Mar 2015 17:57:17 +0200 Subject: [PATCH] tz_search step 1, first if: && -> || --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index bad3c19e..8f7dde6a 100644 --- a/src/search.c +++ b/src/search.c @@ -447,7 +447,7 @@ static unsigned tz_search(const encoder_state_t * const state, unsigned depth, //step 1, compare (0,0) vector to predicted vectors // Check whatever input vector we got, unless its (0, 0) which will be checked later. - if (mv.x && mv.y) + if (mv.x || mv.y) { PERFORMANCE_MEASURE_START(_DEBUG_PERF_SEARCH_PIXELS);