[MPlayer-cvslog] CVS: main/libmpcodecs vf_expand.c,1.30,1.31
Oded Shimon CVS
syncmail at mplayerhq.hu
Fri Jul 8 08:39:50 CEST 2005
CVS change done by Oded Shimon CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv4921/libmpcodecs
Modified Files:
vf_expand.c
Log Message:
cosmetics.
Index: vf_expand.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_expand.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- vf_expand.c 7 Jul 2005 19:54:57 -0000 1.30
+++ vf_expand.c 8 Jul 2005 06:39:47 -0000 1.31
@@ -189,8 +189,8 @@
vf->priv->exp_w = vf->priv->exp_h / vf->priv->aspect;
}
}
- if (vf->priv->round > 1) {
- vf->priv->exp_w = (1 + (vf->priv->exp_w - 1) / vf->priv->round) * vf->priv->round;
+ if (vf->priv->round > 1) { // round up.
+ vf->priv->exp_w = (1 + (vf->priv->exp_w - 1) / vf->priv->round) * vf->priv->round;
vf->priv->exp_h = (1 + (vf->priv->exp_h - 1) / vf->priv->round) * vf->priv->round;
}
More information about the MPlayer-cvslog
mailing list