summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-04 15:56:38 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-04 15:56:38 +0000
commitd9142cf555ecb126abdf2adb642960a5b94c80ac (patch)
treee68547ec9f089a23bdb24a4f5707e54215415763 /postproc
parent00d695780677f52c7ec915a2c1dee34db01fbb55 (diff)
downloadmpv-d9142cf555ecb126abdf2adb642960a5b94c80ac.tar.bz2
mpv-d9142cf555ecb126abdf2adb642960a5b94c80ac.tar.xz
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8100 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c
index efd5d9a68f..76bd013af7 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; i<a->length; i++)
- a->coeff[i]*= height;
+ a->coeff[i]*= inv;
}
void scaleVec(SwsVector *a, double scalar){