cosmetics.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15942 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ods15 2005-07-08 06:39:47 +00:00
parent 1a84771147
commit 5a9e785331
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}