X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fmotion_est%2Ffilter_motion_est.c;h=31254d6155a72c8f704a1517ab35464e72624f69;hb=dbd3f9cca7b7c426d8a30ac7465c2374c603f7cf;hp=734f048f33f268a0ce4910bc0152fc4539022f9f;hpb=3d366fcfb46c1ae8ae3e38e15012edb6affd9828;p=melted diff --git a/src/modules/motion_est/filter_motion_est.c b/src/modules/motion_est/filter_motion_est.c index 734f048..31254d6 100644 --- a/src/modules/motion_est/filter_motion_est.c +++ b/src/modules/motion_est/filter_motion_est.c @@ -290,6 +290,8 @@ static inline void diamond_search( // Keep track of best and former best candidates motion_vector best, former; + best.dx = 0; + best.dy = 0; former.dx = 0; former.dy = 0;