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

libavcodec/motion_est_template.c:939:13: 
937. 
938. //check(x - dir,y - dia_size + dir,0, a2)
939.             CHECK_MV(x - dir           , y - dia_size + dir);
                 ^
940.         }
941. 
