From a289b5b40ec4a16eb05e2557b88c50f4de39840c Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Wed, 12 May 2010 13:30:55 +0000 Subject: fix No. 5 of ffmpeg update. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2367 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/avcodec.pas | 4 ++-- src/lib/ffmpeg/avutil.pas | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/ffmpeg') diff --git a/src/lib/ffmpeg/avcodec.pas b/src/lib/ffmpeg/avcodec.pas index 7a78f06d..ee0cb983 100644 --- a/src/lib/ffmpeg/avcodec.pas +++ b/src/lib/ffmpeg/avcodec.pas @@ -4654,10 +4654,11 @@ function av_parse_video_frame_rate(frame_rate: PAVRational; str: {const} PAnsiCh cdecl; external av__codec; {$IFEND} +{$IF LIBAVCODEC_VERSION < 52059000} // <52.59.0 + { The following error codes are moved to libavutil/error.h on revision 22501 Mar 13 2010 - It is kept here for now. } {* error handling *} @@ -4687,7 +4688,6 @@ const {$ENDIF} {$ENDIF} -{$IF LIBAVCODEC_VERSION < 52059000} // <52.59.0 const {$IF EINVAL > 0} AVERROR_SIGN = -1; diff --git a/src/lib/ffmpeg/avutil.pas b/src/lib/ffmpeg/avutil.pas index 0d11c4a5..cc1e3d44 100644 --- a/src/lib/ffmpeg/avutil.pas +++ b/src/lib/ffmpeg/avutil.pas @@ -141,7 +141,7 @@ function avutil_license(): PAnsiChar; cdecl; external av__format; {$IFEND} -{$IF LIBAVUTIL_VERSION >= 50014000} // >= 50.14.0 +{$IF LIBAVUTIL_VERSION >= 50020000} // >= 50.14.0 type TAVMediaType = ( AVMEDIA_TYPE_UNKNOWN = -1, -- cgit v1.2.3