Mercurial > mplayer.hg
changeset 7044:c9ee9c799f4a
typo fix, patch by (Eric Lammerts <eric at lammerts dot org>)
author | michael |
---|---|
date | Sun, 18 Aug 2002 22:46:03 +0000 |
parents | ba9c212ed577 |
children | 48f2fd49977d |
files | libmpcodecs/vf_scale.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vf_scale.c Sun Aug 18 20:51:55 2002 +0000 +++ b/libmpcodecs/vf_scale.c Sun Aug 18 22:46:03 2002 +0000 @@ -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