]> granicus.if.org Git - libx264/commitdiff
ratecontrol.c: fixed exp2f on BeOS so rate control works properly
authorEric Petit <titer@videolan.org>
Thu, 3 Mar 2005 03:02:27 +0000 (03:02 +0000)
committerEric Petit <titer@videolan.org>
Thu, 3 Mar 2005 03:02:27 +0000 (03:02 +0000)
git-svn-id: svn://svn.videolan.org/x264/trunk@148 df754926-b1dd-0310-bc7b-ec298dee348c

encoder/ratecontrol.c

index fecc994a697cfbcc4f728ca94c6caca5334af042..47f9de3ed3dc864396928fdd542f74f14a405e7c 100644 (file)
@@ -40,7 +40,7 @@
 #ifdef SYS_MACOSX
 #define exp2f(x) ( (float) exp2( (x) ) )
 #endif
-#ifdef SYS_FREEBSD
+#if defined(SYS_FREEBSD) || defined(SYS_BEOS)
 #define exp2f(x) powf( 2, (x) )
 #endif
 #ifdef _MSC_VER