projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0628f3e
)
1.0 and the resulting exactly representable value must be marked as float as well,
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 13 May 2010 18:06:44 +0000
(18:06 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 13 May 2010 18:06:44 +0000
(18:06 +0000)
gcc is hopelessly trash.
Originally committed as revision 23119 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index
3196673
..
7b3f6f4
100644
(file)
--- 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.0
f
/(1<<(b))))
# define compute_antialias compute_antialias_float
# define FIXR_OLD(a) ((int)((a) * FRAC_ONE + 0.5))
# define FIXR(x) ((float)(x))