libavcodec/motion_est_template.c:620: error: Uninitialized Value
  The value read from xmax was never initialized.

libavcodec/motion_est_template.c:620:15: 
618.         if(dia_size&(dia_size-1)) continue;
619. 
620.         if(   x + dia_size > xmax
                   ^
621.            || x - dia_size < xmin
622.            || y + dia_size > ymax
