0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

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

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