diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-09-29 01:08:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-09-29 01:08:01 +0000 |
commit | f830d8244af149f6b1e7f8c7496740ee2c96bb37 (patch) | |
tree | 2d11fad5bea40d124954fe5d71bca5fe5c582f94 | |
parent | 1d44d365acb9898c1daa10953ca5514563b9500c (diff) | |
download | ffmpeg-f830d8244af149f6b1e7f8c7496740ee2c96bb37.tar.gz |
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
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index a7c42c8371..ff2d1d49d4 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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 |