diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-05-13 18:06:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-05-13 18:06:44 +0000 |
commit | 40914d97ccf78ec26eabc9150fc6180ebce9dcd9 (patch) | |
tree | 7e3c37c2d82210d491e9138240290230b4cd95db /libavcodec/mpegaudiodec.c | |
parent | 0628f3e8cfa03b215a6f135c0f11af3ac950ebe4 (diff) | |
download | ffmpeg-40914d97ccf78ec26eabc9150fc6180ebce9dcd9.tar.gz |
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
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 2 |
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)) |