Commit bf284cee authored by Yaowu Xu's avatar Yaowu Xu Committed by Gerrit Code Review
Browse files

Merge "changed to avoid code confusion" into experimental

parents 5d739f50 906c1b4b
No related merge requests found
Showing with 4 additions and 5 deletions
...@@ -254,11 +254,10 @@ void vp8_find_best_ref_mvs(MACROBLOCKD *xd, ...@@ -254,11 +254,10 @@ void vp8_find_best_ref_mvs(MACROBLOCKD *xd,
// If we see a 0,0 vector for a second time we have reached the end of // If we see a 0,0 vector for a second time we have reached the end of
// the list of valid candidate vectors. // the list of valid candidate vectors.
if (!this_mv.as_int) if (!this_mv.as_int && zero_seen)
if (zero_seen) break;
break;
else zero_seen = zero_seen || !this_mv.as_int;
zero_seen = TRUE;
vp8_clamp_mv(&this_mv, vp8_clamp_mv(&this_mv,
xd->mb_to_left_edge - LEFT_TOP_MARGIN + 16, xd->mb_to_left_edge - LEFT_TOP_MARGIN + 16,
......
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