mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 16:33:02 +00:00
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8100 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
00d6957806
commit
d9142cf555
@ -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){
|
||||||
|
Loading…
Reference in New Issue
Block a user