changeset 27637:5abf906c09c8

Fix infinite loop with spline, bug was introduced in r27612 by me.
author michael
date Mon, 29 Sep 2008 01:08:01 +0000
parents b45a3ae01e54
children 8f1fd6221f8a
files libswscale/swscale.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libswscale/swscale.c	Sun Sep 28 10:14:45 2008 +0000
+++ b/libswscale/swscale.c	Mon Sep 29 01:08:01 2008 +0000
@@ -1229,7 +1229,7 @@
                 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