diff options
-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 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){ |