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

libavcodec/motion_est_template.c:686:17: 
684.             if(dia_size>1){
685.                 CHECK_CLIPPED_MV(x+(-dia_size>>1), y+dia_size);
686.                 CHECK_CLIPPED_MV(x+(-dia_size>>1), y-dia_size);
                     ^
687.             }
688.         }while(best[0] != x || best[1] != y);
