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

libavcodec/motion_est_template.c:1072:17: 
1070.                             (last_mv[ref_mv_xy-1][1]*ref_mv_scale + (1<<15))>>16)
1071.             if(!s->first_slice_line)
1072.                 CHECK_CLIPPED_MV((last_mv[ref_mv_xy-ref_mv_stride][0]*ref_mv_scale + (1<<15))>>16,
                      ^
1073.                                 (last_mv[ref_mv_xy-ref_mv_stride][1]*ref_mv_scale + (1<<15))>>16)
1074.         }else{
