You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-29 05:57:37 +02:00
Workaround for missing llrintf()
Originally committed as revision 22954 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -43,6 +43,11 @@
|
||||
#define llrint(x) ((long long)rint(x))
|
||||
#endif /* HAVE_LLRINT */
|
||||
|
||||
#if !HAVE_LLRINTF
|
||||
#undef llrintf
|
||||
#define llrintf(x) ((long long)rint(x))
|
||||
#endif /* HAVE_LLRINT */
|
||||
|
||||
#if !HAVE_LOG2
|
||||
#undef log2
|
||||
#define log2(x) (log(x) * 1.44269504088896340736)
|
||||
|
||||
Reference in New Issue
Block a user