# HG changeset patch # User michael # Date 1036425398 0 # Node ID 7bcf56cfa1c23c5619eb5abfacf2ec18fb300984 # Parent 2fa1e3aa518a12539f3752e63224989d2c6c376a 10l diff -r 2fa1e3aa518a -r 7bcf56cfa1c2 postproc/swscale.c --- a/postproc/swscale.c Mon Nov 04 10:01:15 2002 +0000 +++ b/postproc/swscale.c Mon Nov 04 15:56:38 2002 +0000 @@ -2439,7 +2439,7 @@ inv= height/sum; for(i=0; ilength; i++) - a->coeff[i]*= height; + a->coeff[i]*= inv; } void scaleVec(SwsVector *a, double scalar){