changeset 6610:242d1b98a15f

parameter overrides limit
author arpi
date Sat, 29 Jun 2002 22:12:07 +0000
parents 7745d73a5f20
children 958a46ceb865
files libmpcodecs/vf_cropdetect.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_cropdetect.c	Sat Jun 29 22:10:18 2002 +0000
+++ b/libmpcodecs/vf_cropdetect.c	Sat Jun 29 22:12:07 2002 +0000
@@ -125,6 +125,7 @@
     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;
 }