# HG changeset patch # User michael # Date 1222650481 0 # Node ID 5abf906c09c8f060900591038ac13d547a9fe0eb # Parent b45a3ae01e540af272fcc7d95f6cf8d389a5e687 Fix infinite loop with spline, bug was introduced in r27612 by me. diff -r b45a3ae01e54 -r 5abf906c09c8 libswscale/swscale.c --- 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