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

libavcodec/motion_est_template.c:1098:20: 
1096.                 int my= (last_mv[xy][1]*ref_mv_scale + (1<<15))>>16;
1097. 
1098.                 if(mx>xmax || mx<xmin || my>ymax || my<ymin) continue;
                         ^
1099.                 CHECK_MV(mx,my)
1100.             }
