[FFmpeg-cvslog] r27669 - trunk/libswscale/swscale.c

michael subversion
Mon Sep 29 03:08:01 CEST 2008


Author: michael
Date: Mon Sep 29 03:08:01 2008
New Revision: 27669

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


Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	(original)
+++ trunk/libswscale/swscale.c	Mon Sep 29 03:08:01 2008
@@ -1229,7 +1229,7 @@ static inline int initFilter(int16_t **o
                 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




More information about the ffmpeg-cvslog mailing list