changeset 13233:3b85939d9f0a

missing initialization of round
author reimar
date Thu, 02 Sep 2004 20:08:32 +0000
parents 4b7b0cb1d6f3
children 7056d7cfcd02
files libmpcodecs/vf_cropdetect.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_cropdetect.c	Thu Sep 02 19:48:41 2004 +0000
+++ b/libmpcodecs/vf_cropdetect.c	Thu Sep 02 20:08:32 2004 +0000
@@ -145,6 +145,7 @@
     vf->put_image=put_image;
     vf->priv=malloc(sizeof(struct vf_priv_s));
     vf->priv->limit=24; // should be option
+    vf->priv->round = 0;
     if(args) sscanf(args, "%d:%d",
     &vf->priv->limit,
     &vf->priv->round);