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

libavcodec/motion_est_template.c:1160:9: 
1158.     if (s->first_slice_line) {
1159.         CHECK_MV(P_LEFT[0]>>shift, P_LEFT[1]>>shift)
1160.         CHECK_CLIPPED_MV((last_mv[ref_mv_xy][0]*ref_mv_scale + (1<<15))>>16,
              ^
1161.                         (last_mv[ref_mv_xy][1]*ref_mv_scale + (1<<15))>>16)
1162.         CHECK_MV(P_MV1[0]>>shift, P_MV1[1]>>shift)
