Commit ebea5417 authored by michael's avatar michael

Fix infinite loop with spline, bug was introduced in r27612 by me.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@27669 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 27e8aed0
......@@ -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
......
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