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

libavcodec/motion_est_template.c:1075:13: 
1073.                                 (last_mv[ref_mv_xy-ref_mv_stride][1]*ref_mv_scale + (1<<15))>>16)
1074.         }else{
1075.             CHECK_CLIPPED_MV((last_mv[ref_mv_xy+1][0]*ref_mv_scale + (1<<15))>>16,
                  ^
1076.                             (last_mv[ref_mv_xy+1][1]*ref_mv_scale + (1<<15))>>16)
1077.             if(s->mb_y+1<s->end_mb_y)  //FIXME replace at least with last_slice_line
