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

libavcodec/motion_est_template.c:796:13: 
794.     for(y=FFMAX(-dia_size, ymin); y<=FFMIN(dia_size,ymax); y++){
795.         for(x=FFMAX(-dia_size, xmin); x<=FFMIN(dia_size,xmax); x++){
796.             CHECK_MV(x, y);
                 ^
797.         }
798.     }
