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:
645d265
)
Define missing llrint() as macro instead of inline function
author
Måns Rullgård
<mans@mansr.com>
Tue, 9 Feb 2010 22:55:16 +0000
(22:55 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Tue, 9 Feb 2010 22:55:16 +0000
(22:55 +0000)
This fixes building on some broken systems.
Originally committed as revision 21735 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/internal.h
patch
|
blob
|
history
diff --git
a/libavutil/internal.h
b/libavutil/internal.h
index
cd63b3d
..
d22b4e6
100644
(file)
--- a/
libavutil/internal.h
+++ b/
libavutil/internal.h
@@
-225,10
+225,8
@@
static inline av_const unsigned int ff_sqrt(unsigned int a)
#endif /* HAVE_EXP2F */
#if !HAVE_LLRINT
-static av_always_inline av_const long long llrint(double x)
-{
- return rint(x);
-}
+#undef llrint
+#define llrint(x) rint(x)
#endif /* HAVE_LLRINT */
#if !HAVE_LOG2