diff postproc/swscale.c @ 8099:7bcf56cfa1c2

10l
author michael
date Mon, 04 Nov 2002 15:56:38 +0000
parents b9da278e4c92
children 25baacd1c650
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){