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

libavcodec/motion_est_template.c:1177:13: 
1175.                         (last_mv[ref_mv_xy+1][1]*ref_mv_scale + (1<<15))>>16)
1176.         if(s->mb_y+1<s->end_mb_y)  //FIXME replace at least with last_slice_line
1177.             CHECK_CLIPPED_MV((last_mv[ref_mv_xy+ref_mv_stride][0]*ref_mv_scale + (1<<15))>>16,
                  ^
1178.                             (last_mv[ref_mv_xy+ref_mv_stride][1]*ref_mv_scale + (1<<15))>>16)
1179.     }
