diff options
author | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-07-08 06:39:47 +0000 |
---|---|---|
committer | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-07-08 06:39:47 +0000 |
commit | 5a9e7853312814b2fedbbfb8702f52b4bc425830 (patch) | |
tree | 2d091523adaa05890d6cb7edafff55f7baf95cbb /libmpcodecs | |
parent | 1a8477114753a20b6d0113186c0060248b979c94 (diff) |
cosmetics.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15942 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs')
-rw-r--r-- | libmpcodecs/vf_expand.c | 4 |
1 files 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; } |