From 1c312b9114e3b044103e53e3bfe2782a32b85f7d Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 20 Feb 2010 23:10:10 +0000 Subject: update of mathematics.pas to 50.9.0 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2120 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/mathematics.pas | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/lib') diff --git a/src/lib/ffmpeg/mathematics.pas b/src/lib/ffmpeg/mathematics.pas index 32b4a6e6..0cd234e5 100644 --- a/src/lib/ffmpeg/mathematics.pas +++ b/src/lib/ffmpeg/mathematics.pas @@ -28,14 +28,10 @@ * Conversion of libavutil/mathematics.h * revision 16844, Wed Jan 28 08:50:10 2009 UTC * - * update, MiSchi, no code change - * Fri Jun 12 2009 21:50:00 UTC - *) -{ * update to - * avutil max. version 50.7.0, Mon, Jan 4 2010 24:00:00 UTC + * avutil max. version 50.9.0, Sun, Feb 21 2010 00:00:00 UTC * MiSchi -} + *) unit mathematics; @@ -58,6 +54,9 @@ const M_E = 2.7182818284590452354; // e M_LN2 = 0.69314718055994530942; // log_e 2 M_LN10 = 2.30258509299404568402; // log_e 10 +{$IF LIBAVUTIL_VERSION >= 50009000} // >= 50.9.0 + M_LOG2_10 = 3.32192809488736218171; // log_2 10 +{$IFEND} M_PI = 3.14159265358979323846; // pi M_SQRT1_2 = 0.70710678118654752440; // 1/sqrt(2) {$IF LIBAVUTIL_VERSION >= 50005001} // >= 50.5.1 -- cgit v1.2.3