Commit 8664c807 authored by Michael Niedermayer's avatar Michael Niedermayer

10l

Originally committed as revision 8100 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
parent 8cb097d4
...@@ -2439,7 +2439,7 @@ void normalizeVec(SwsVector *a, double height){ ...@@ -2439,7 +2439,7 @@ void normalizeVec(SwsVector *a, double height){
inv= height/sum; inv= height/sum;
for(i=0; i<a->length; i++) for(i=0; i<a->length; i++)
a->coeff[i]*= height; a->coeff[i]*= inv;
} }
void scaleVec(SwsVector *a, double scalar){ void scaleVec(SwsVector *a, double scalar){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment