From 6e576ac0b30bd645078bcb16426d413b01fa49e1 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sun, 18 Mar 2012 22:54:03 +0000 Subject: start of update for ffmpeg7 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2838 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/rational.pas | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/ffmpeg/rational.pas') diff --git a/src/lib/ffmpeg/rational.pas b/src/lib/ffmpeg/rational.pas index 323d7937..45ca8b87 100644 --- a/src/lib/ffmpeg/rational.pas +++ b/src/lib/ffmpeg/rational.pas @@ -23,7 +23,7 @@ * - Changes and updates by the UltraStar Deluxe Team * * Conversion of libavutil/rational.h - * avutil max. version 50.21.0, revision 24190, Wed Jul 21 01:00:00 2010 CET + * avutil version 50.43.0 * *) @@ -124,6 +124,8 @@ function av_sub_q(b: TAVRational; c: TAVRational): TAVRational; (** * Convert a double precision floating point number to a rational. + * inf is expressed as {1,0} or {-1,0} depending on the sign. + * * @param d double to convert * @param max the maximum allowed numerator and denominator * @return (AVRational) d @@ -131,7 +133,6 @@ function av_sub_q(b: TAVRational; c: TAVRational): TAVRational; function av_d2q(d: cdouble; max: cint): TAVRational; cdecl; external av__util; {av_const} -{$IF LIBAVUTIL_VERSION >= 49011000} // 49.11.0 (** * @return 1 if q1 is nearer to q than q2, -1 if q2 is nearer * than q1, 0 if they have the same distance. @@ -146,7 +147,6 @@ function av_nearer_q(q, q1, q2: TAVRational): cint; *) function av_find_nearest_q_idx(q: TAVRational; q_list: {const} PAVRationalArray): cint; cdecl; external av__util; -{$IFEND} implementation -- cgit v1.2.3