[FFmpeg-cvslog] r23119 - trunk/libavcodec/mpegaudiodec.c

michael subversion
Thu May 13 20:06:44 CEST 2010


Author: michael
Date: Thu May 13 20:06:44 2010
New Revision: 23119

Log:
1.0 and the resulting exactly representable value must be marked as float as well,
gcc is hopelessly trash.

Modified:
   trunk/libavcodec/mpegaudiodec.c

Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	Thu May 13 19:58:17 2010	(r23118)
+++ trunk/libavcodec/mpegaudiodec.c	Thu May 13 20:06:44 2010	(r23119)
@@ -40,7 +40,7 @@
 #include "mathops.h"
 
 #if CONFIG_FLOAT
-#   define SHR(a,b)       ((a)*(1.0/(1<<(b))))
+#   define SHR(a,b)       ((a)*(1.0f/(1<<(b))))
 #   define compute_antialias compute_antialias_float
 #   define FIXR_OLD(a)    ((int)((a) * FRAC_ONE + 0.5))
 #   define FIXR(x)        ((float)(x))



More information about the ffmpeg-cvslog mailing list