From cbf1f7e106da2fa9d8ac0ddd79bb47d4a6f75686 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 6 Dec 2009 21:14:45 +0000 Subject: update to version 50.5.1. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1997 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/mathematics.pas | 9 +++++++++ src/lib/ffmpeg/rational.pas | 3 +++ 2 files changed, 12 insertions(+) (limited to 'src') diff --git a/src/lib/ffmpeg/mathematics.pas b/src/lib/ffmpeg/mathematics.pas index 92ee0a5e..f3a307b6 100644 --- a/src/lib/ffmpeg/mathematics.pas +++ b/src/lib/ffmpeg/mathematics.pas @@ -31,6 +31,11 @@ * update, MiSchi, no code change * Fri Jun 12 2009 21:50:00 UTC *) +{ + * update to + * avutil max. version 50.05.1, Sun, Dec 6 24:00:00 2009 UTC + * MiSchi +} unit mathematics; @@ -55,6 +60,10 @@ const M_LN10 = 2.30258509299404568402; // log_e 10 M_PI = 3.14159265358979323846; // pi M_SQRT1_2 = 0.70710678118654752440; // 1/sqrt(2) +{$IF LIBAVUTIL_VERSION >= 50005001} // >= 50.5.1 + NAN = 0.0/0.0; + INFINITY = 1.0/0.0; +{$IFEND} type TAVRounding = ( diff --git a/src/lib/ffmpeg/rational.pas b/src/lib/ffmpeg/rational.pas index b940009d..4b8a2dc8 100644 --- a/src/lib/ffmpeg/rational.pas +++ b/src/lib/ffmpeg/rational.pas @@ -31,6 +31,9 @@ * * update, MiSchi, no code change * Fri Jun 12 2009 22:20:00 UTC + * + * update, MiSchi, no code change needed + * Sun Dec 6 2009 22:20:00 UTC *) unit rational; -- cgit v1.2.3