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

libavcodec/motion_est_template.c:763:38: 
761.     y= best[1];
762.     for(y2=FFMAX(y-2, ymin); y2<=FFMIN(y+2,ymax); y2++){
763.         for(x2=FFMAX(x-2, xmin); x2<=FFMIN(x+2,xmax); x2++){
                                          ^
764.             CHECK_MV(x2, y2);
765.         }
