From 8664c807e63e24fca88dfbf9b158b5352127f690 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Nov 2002 15:56:38 +0000 Subject: 10l Originally committed as revision 8100 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc --- postproc/swscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'postproc') diff --git a/postproc/swscale.c b/postproc/swscale.c index efd5d9a..76bd013 100644 --- a/postproc/swscale.c +++ b/postproc/swscale.c @@ -2439,7 +2439,7 @@ void normalizeVec(SwsVector *a, double height){ inv= height/sum; for(i=0; ilength; i++) - a->coeff[i]*= height; + a->coeff[i]*= inv; } void scaleVec(SwsVector *a, double scalar){ -- cgit v1.1