From 899bcfea71b94360022cc876a02858253119b6b2 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Tue, 11 May 2010 21:49:32 +0000 Subject: update to mathematics 50.14.0 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2360 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/mathematics.pas | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/lib/ffmpeg') diff --git a/src/lib/ffmpeg/mathematics.pas b/src/lib/ffmpeg/mathematics.pas index 743ea019..a00969b4 100644 --- a/src/lib/ffmpeg/mathematics.pas +++ b/src/lib/ffmpeg/mathematics.pas @@ -26,7 +26,7 @@ (* * Conversion of libavutil/mathematics.h - * avutil max. version 50.9.0, revision 21946, Tue May 11 22:10:00 2010 CET + * avutil max. version 50.14.0, revision 22825, Tue May 11 22:10:00 2010 CET * *) @@ -56,6 +56,9 @@ const {$IFEND} M_PI = 3.14159265358979323846; // pi M_SQRT1_2 = 0.70710678118654752440; // 1/sqrt(2) +{$IF LIBAVUTIL_VERSION >= 50014000} // >= 50.14.0 + M_SQRT2 = 1.41421356237309504880; // sqrt(2) +{$IFEND} {$IF LIBAVUTIL_VERSION >= 50005001} // >= 50.5.1 NAN = 0.0/0.0; INFINITY = 1.0/0.0; @@ -105,7 +108,7 @@ function av_rescale_q (a: cint64; bq, cq: TAVRational): cint64; * Compares 2 timestamps each in its own timebases. * The result of the function is undefined if one of the timestamps * is outside the int64_t range when represented in the others timebase. - * @returns -1 if ts_a is before ts_b, 1 if ts_a is after ts_b or 0 if they represent the same position + * @return -1 if ts_a is before ts_b, 1 if ts_a is after ts_b or 0 if they represent the same position *) function av_compare_ts(ts_a: cint64; tb_a: TAVRational; ts_b: cint64; tb_b: TAVRational): cint; cdecl; external av__util; -- cgit v1.2.3