Commit 3389810e authored by mru's avatar mru

Define missing llrint() as macro instead of inline function

This fixes building on some broken systems.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@21735 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9e041635
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment