Fix infinite loop with spline, bug was introduced in r27612 by me.
Originally committed as revision 27669 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
1d44d365ac
commit
f830d8244a
@ -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…
x
Reference in New Issue
Block a user