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

libavcodec/motion_est_template.c:629:13: 
627.             int d;
628. 
629.             CHECK_MV(x + dir           , y + dia_size - dir);
                 ^
630.             CHECK_MV(x + dia_size - dir, y - dir           );
631.             CHECK_MV(x - dir           , y - dia_size + dir);
