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:
857c30e
)
Remove unused FRAC_RND() macro from mpegaudiodec.c.
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 11 May 2010 14:49:48 +0000
(14:49 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 11 May 2010 14:49:48 +0000
(14:49 +0000)
Originally committed as revision 23086 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegaudiodec.c
patch
|
blob
|
history
diff --git
a/libavcodec/mpegaudiodec.c
b/libavcodec/mpegaudiodec.c
index
40383a8
..
0655d41
100644
(file)
--- a/
libavcodec/mpegaudiodec.c
+++ b/
libavcodec/mpegaudiodec.c
@@
-41,7
+41,6
@@
/* WARNING: only correct for posititive numbers */
#define FIXR(a) ((int)((a) * FRAC_ONE + 0.5))
-#define FRAC_RND(a) (((a) + (FRAC_ONE/2)) >> FRAC_BITS)
#define FIXHR(a) ((int)((a) * (1LL<<32) + 0.5))