From 5a9e7853312814b2fedbbfb8702f52b4bc425830 Mon Sep 17 00:00:00 2001 From: ods15 Date: Fri, 8 Jul 2005 06:39:47 +0000 Subject: cosmetics. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15942 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vf_expand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libmpcodecs/vf_expand.c b/libmpcodecs/vf_expand.c index 8840b9ebeb..946f84fc19 100644 --- a/libmpcodecs/vf_expand.c +++ b/libmpcodecs/vf_expand.c @@ -189,8 +189,8 @@ static int config(struct vf_instance_s* vf, 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; } -- cgit v1.2.3