mirror of
https://github.com/mpv-player/mpv
synced 2024-12-19 21:31:52 +00:00
Fix infinite loop with spline, bug was introduced in r27612 by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27669 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a2ad015203
commit
f627d46a0d
@ -1229,7 +1229,7 @@ static inline int initFilter(int16_t **outFilter, int16_t **filterPos, int *outF
|
||||
else if (flags & SWS_SPLINE)
|
||||
{
|
||||
double p=-2.196152422706632;
|
||||
coeff = getSplineCoeff(1.0, 0.0, p, -p-1.0, d) * fone;
|
||||
coeff = getSplineCoeff(1.0, 0.0, p, -p-1.0, floatd) * fone;
|
||||
}
|
||||
else {
|
||||
coeff= 0.0; //GCC warning killer
|
||||
|
Loading…
Reference in New Issue
Block a user