changeset 15941:0e449f0367a4

cosmetics.
author ods15
date Fri, 08 Jul 2005 06:39:47 +0000
parents f3284e71b34c
children 3eaceddfd30c
files libmpcodecs/vf_expand.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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;
     }