mirror of
https://code.videolan.org/videolan/vlc
synced 2024-08-06 16:44:19 +02:00
* powf -> pow :(
This commit is contained in:
parent
6db8875a09
commit
60b3038b0a
@ -40,8 +40,9 @@ diff -ruN x264.orig/encoder/ratecontrol.c x264/encoder/ratecontrol.c
|
||||
#include "ratecontrol.h"
|
||||
|
||||
-#if defined(SYS_FREEBSD) || defined(SYS_BEOS)
|
||||
-#define exp2f(x) powf( 2, (x) )
|
||||
+#if defined(SYS_FREEBSD) || defined(SYS_BEOS) || defined(SYS_MACOSX)
|
||||
#define exp2f(x) powf( 2, (x) )
|
||||
+#define exp2f(x) (float)pow( 2, (x) )
|
||||
+#define sqrtf sqrt
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
|
Loading…
Reference in New Issue
Block a user