diff options
Diffstat (limited to 'postproc')
-rw-r--r-- | postproc/swscale.c | 2 |
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){ |