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

libavcodec/motion_est_template.c:753:43: 
751.     x= best[0];
752.     y= best[1];
753.     for(x2=FFMAX(x-dia_size+1, xmin); x2<=FFMIN(x+dia_size-1,xmax); x2+=2){
                                               ^
754.         CHECK_MV(x2, y);
755.     }
