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

libavcodec/motion_est_template.c:342:9: 
340.         }
341. 
342.         assert(bx >= xmin*4 && bx <= xmax*4 && by >= ymin*4 && by <= ymax*4);
             ^
343. 
344.         *mx_ptr = bx;
