aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-20 23:10:10 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-02-20 23:10:10 +0000
commit1c312b9114e3b044103e53e3bfe2782a32b85f7d (patch)
treee0aef5ecbadb4e356989c7dc188a992f538f57be /src
parent10cfafa578e8656c9bc031d6f3d9ed8dff65bb16 (diff)
downloadusdx-1c312b9114e3b044103e53e3bfe2782a32b85f7d.tar.gz
usdx-1c312b9114e3b044103e53e3bfe2782a32b85f7d.tar.xz
usdx-1c312b9114e3b044103e53e3bfe2782a32b85f7d.zip
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
Diffstat (limited to '')
-rw-r--r--src/lib/ffmpeg/mathematics.pas11
1 files changed, 5 insertions, 6 deletions
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