summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-05-13 18:06:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-05-13 18:06:44 +0000
commit40914d97ccf78ec26eabc9150fc6180ebce9dcd9 (patch)
tree7e3c37c2d82210d491e9138240290230b4cd95db
parent0628f3e8cfa03b215a6f135c0f11af3ac950ebe4 (diff)
1.0 and the resulting exactly representable value must be marked as float as well,
gcc is hopelessly trash. Originally committed as revision 23119 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/mpegaudiodec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c
index 31966734c5..7b3f6f46da 100644
--- a/libavcodec/mpegaudiodec.c
+++ b/libavcodec/mpegaudiodec.c
@@ -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))