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

libavcodec/motion_est_template.c:1069:13: 
1067.     if(dmin>h*h*4){
1068.         if(c->pre_pass){
1069.             CHECK_CLIPPED_MV((last_mv[ref_mv_xy-1][0]*ref_mv_scale + (1<<15))>>16,
                  ^
1070.                             (last_mv[ref_mv_xy-1][1]*ref_mv_scale + (1<<15))>>16)
1071.             if(!s->first_slice_line)
