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

libavcodec/motion_est_template.c:1061:9: 
1059.         CHECK_CLIPPED_MV((P_MEDIAN[0]>>shift)-1, (P_MEDIAN[1]>>shift)  )
1060.         CHECK_CLIPPED_MV((P_MEDIAN[0]>>shift)+1, (P_MEDIAN[1]>>shift)  )
1061.         CHECK_CLIPPED_MV((last_mv[ref_mv_xy][0]*ref_mv_scale + (1<<15))>>16,
              ^
1062.                         (last_mv[ref_mv_xy][1]*ref_mv_scale + (1<<15))>>16)
1063.         CHECK_MV(P_LEFT[0]    >>shift, P_LEFT[1]    >>shift)
