[FFmpeg-cvslog] swresample/resample: remove redundant L for floating literal

Ganesh Ajjanagadde git at videolan.org
Sun Nov 15 16:28:32 CET 2015


ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Sun Nov 15 10:12:55 2015 -0500| [0bd0af6e6836c84a375ab324c7440812a3e8622a] | committer: Ganesh Ajjanagadde

swresample/resample: remove redundant L for floating literal

It is inherently double precision, and 1.0 is perfectly represented
anyway.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0bd0af6e6836c84a375ab324c7440812a3e8622a
---

 libswresample/resample.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libswresample/resample.c b/libswresample/resample.c
index 77f3a0d..34eb4c0 100644
--- a/libswresample/resample.c
+++ b/libswresample/resample.c
@@ -96,7 +96,7 @@ static double bessel(double x) {
         -1.2207067397808979846e+10,
          1.0377081058062166144e+07,
         -4.8527560179962773045e+03,
-         1.0L,
+         1.0,
     };
     static const double p2[] = {
         -2.2210262233306573296e-04,
@@ -115,7 +115,7 @@ static double bessel(double x) {
         -6.0228002066743340583e+01,
          8.5539563258012929600e+01,
         -3.1446690275135491500e+01,
-        1.0L,
+        1.0,
     };
     double y, r, factor;
     if (x == 0)



More information about the ffmpeg-cvslog mailing list