changeset 6117:0c33406d2a83

small fix
author arpi
date Sat, 18 May 2002 17:31:44 +0000
parents 906f71d77191
children f869ece65aab
files libmpcodecs/vf_cropdetect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_cropdetect.c	Sat May 18 13:01:58 2002 +0000
+++ b/libmpcodecs/vf_cropdetect.c	Sat May 18 17:31:44 2002 +0000
@@ -108,7 +108,7 @@
     printf("crop area: X: %d..%d  Y: %d..%d  (-vop crop=%d:%d:%d:%d)\n",
 	vf->priv->x1,vf->priv->x2,
 	vf->priv->y1,vf->priv->y2,
-	(vf->priv->x2-x)&(~1),(vf->priv->y2-y)&(~1),x,y
+	(vf->priv->x2+1-x)&(~1),(vf->priv->y2+1-y)&(~1),x,y
 	  );
 
     vf_next_put_image(vf,dmpi);