[Mplayer-cvslog] CVS: main/libmpcodecs vf_scale.c,1.22,1.23

Michael Niedermayer michael at mplayerhq.hu
Mon Aug 19 00:46:12 CEST 2002


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv2054

Modified Files:
	vf_scale.c 
Log Message:
typo fix, patch by (Eric Lammerts <eric at lammerts dot org>)


Index: vf_scale.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_scale.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- vf_scale.c	2 Aug 2002 22:57:58 -0000	1.22
+++ vf_scale.c	18 Aug 2002 22:46:03 -0000	1.23
@@ -121,7 +121,7 @@
 	if(vf->priv->w<0) vf->priv->w=width; else
 	if(vf->priv->w==0) vf->priv->w=d_width;
 	if(vf->priv->h==-3) vf->priv->h=(vf->priv->w*height/width+1)&~1; else
-	if(vf->priv->h==-2) vf->priv->h=(vf->priv->w*d_height/d_width+2)&~1;
+	if(vf->priv->h==-2) vf->priv->h=(vf->priv->w*d_height/d_width+1)&~1;
 	break;
     default:
     if(vf->priv->w==-3) vf->priv->w=vf->priv->h*width/height; else




More information about the MPlayer-cvslog mailing list