# HG changeset patch # User ods15 # Date 1120804787 0 # Node ID 0e449f0367a4fb01131ea1bf2522810b668cc025 # Parent f3284e71b34cb4aabe3f667b11396ab92d44cd7d cosmetics. diff -r f3284e71b34c -r 0e449f0367a4 libmpcodecs/vf_expand.c --- a/libmpcodecs/vf_expand.c Thu Jul 07 20:26:56 2005 +0000 +++ b/libmpcodecs/vf_expand.c Fri Jul 08 06:39:47 2005 +0000 @@ -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; }