summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-11-04 15:56:38 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-11-04 15:56:38 +0000
commit8664c807e63e24fca88dfbf9b158b5352127f690 (patch)
treef8fc989b8e3c27ca0ee223a0c2be205a209d0fd4 /postproc
parent8cb097d4a651ef9286a95a50ea24adb7ca6b5bc4 (diff)
downloadffmpeg-streaming-8664c807e63e24fca88dfbf9b158b5352127f690.zip
ffmpeg-streaming-8664c807e63e24fca88dfbf9b158b5352127f690.tar.gz
10l
Originally committed as revision 8100 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
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 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; i<a->length; i++)
- a->coeff[i]*= height;
+ a->coeff[i]*= inv;
}
void scaleVec(SwsVector *a, double scalar){
OpenPOWER on IntegriCloud