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

libavcodec/motion_est_template.c:1044:9: 
1042.     if (s->first_slice_line) {
1043.         CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift)
1044.         CHECK_CLIPPED_MV((last_mv[ref_mv_xy][0]*ref_mv_scale + (1<<15))>>16,
              ^
1045.                         (last_mv[ref_mv_xy][1]*ref_mv_scale + (1<<15))>>16)
1046.     }else{
