Commit f830d824 authored by Michael Niedermayer's avatar Michael Niedermayer

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
parent 1d44d365
...@@ -1229,7 +1229,7 @@ static inline int initFilter(int16_t **outFilter, int16_t **filterPos, int *outF ...@@ -1229,7 +1229,7 @@ static inline int initFilter(int16_t **outFilter, int16_t **filterPos, int *outF
else if (flags & SWS_SPLINE) else if (flags & SWS_SPLINE)
{ {
double p=-2.196152422706632; 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 { else {
coeff= 0.0; //GCC warning killer 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