mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-18 21:45:10 +00:00
Define missing llrint() as macro instead of inline function
This fixes building on some broken systems. Originally committed as revision 21735 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
645d26520a
commit
8e05f06912
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user