changeset 8099:7bcf56cfa1c2

10l
author michael
date Mon, 04 Nov 2002 15:56:38 +0000
parents 2fa1e3aa518a
children fd0da9a7d2e3
files postproc/swscale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/postproc/swscale.c	Mon Nov 04 10:01:15 2002 +0000
+++ b/postproc/swscale.c	Mon Nov 04 15:56:38 2002 +0000
@@ -2439,7 +2439,7 @@
 	inv= height/sum;
 
 	for(i=0; i<a->length; i++)
-		a->coeff[i]*= height;
+		a->coeff[i]*= inv;
 }
 
 void scaleVec(SwsVector *a, double scalar){