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

libavcodec/motion_est_template.c:924:16: 
922.         }
923. 
924.         start= FFMAX(0, x + dia_size - xmax);
                    ^
925.         end  = FFMIN(dia_size, y - ymin + 1);
926.         for(dir= start; dir<end; dir++){
