From db683916adb8101eba11813d64434477322278a9 Mon Sep 17 00:00:00 2001 From: arpi Date: Sat, 29 Jun 2002 22:12:07 +0000 Subject: [PATCH] parameter overrides limit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6611 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_cropdetect.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libmpcodecs/vf_cropdetect.c b/libmpcodecs/vf_cropdetect.c index fe2915dc27..c6f3a6d313 100644 --- a/libmpcodecs/vf_cropdetect.c +++ b/libmpcodecs/vf_cropdetect.c @@ -125,6 +125,7 @@ static int open(vf_instance_t *vf, char* args){ vf->put_image=put_image; vf->priv=malloc(sizeof(struct vf_priv_s)); vf->priv->limit=24; // should be option + if(args) vf->priv->limit=atoi(args); return 1; }