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

libavcodec/motion_est_template.c:943:16: 
941. 
942.         start= FFMAX(0, -x + dia_size + xmin );
943.         end  = FFMIN(dia_size, ymax - y + 1);
                    ^
944.         for(dir= start; dir<end; dir++){
945.             int d;
