diff libmpcodecs/vf_expand.c @ 15941:0e449f0367a4

cosmetics.
author ods15
date Fri, 08 Jul 2005 06:39:47 +0000
parents 4119b6ef4e87
children 098d3c815fe2
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;
     }