From 88a9fd30446c4353d42b5a1ccd882e074c6d6c0e Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Fri, 23 Apr 2010 22:57:26 +0000 Subject: correct update of avcodec to 52.66 git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2295 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg/avcodec.pas | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/ffmpeg/avcodec.pas b/src/lib/ffmpeg/avcodec.pas index 51da96c1..465089b0 100644 --- a/src/lib/ffmpeg/avcodec.pas +++ b/src/lib/ffmpeg/avcodec.pas @@ -30,7 +30,7 @@ * Max. version: 52.11.0, revision 16912, Sun Feb 1 02:00:19 2009 UTC * * update to - * Max. version: 52.65.0, Fri Apr 23 2010 21:49:00 CET + * Max. version: 52.66.0, Fri Apr 23 2010 24:00:00 CET * MiSchi *) @@ -64,7 +64,7 @@ uses const (* Max. supported version by this header *) LIBAVCODEC_MAX_VERSION_MAJOR = 52; - LIBAVCODEC_MAX_VERSION_MINOR = 65; + LIBAVCODEC_MAX_VERSION_MINOR = 66; LIBAVCODEC_MAX_VERSION_RELEASE = 0; LIBAVCODEC_MAX_VERSION = (LIBAVCODEC_MAX_VERSION_MAJOR * VERSION_MAJOR) + (LIBAVCODEC_MAX_VERSION_MINOR * VERSION_MINOR) + @@ -3778,6 +3778,18 @@ procedure avcodec_default_release_buffer (s: PAVCodecContext; pic: PAVFrame); function avcodec_default_reget_buffer (s: PAVCodecContext; pic: PAVFrame): cint; cdecl; external av__codec; +{$IF LIBAVCODEC_VERSION >= 52066000} // >= 52.66.0 +(** + * Returns the amount of padding in pixels which the get_buffer callback must + * provide around the edge of the image for codecs which do not have the + * CODEC_FLAG_EMU_EDGE flag. + * + * @return Required padding in pixels. + *) +function avcodec_get_edge_width(): cuint; + cdecl; external av__codec; +{$IFEND} + (** * Modifies width and height values so that they will result in a memory * buffer that is acceptable for the codec if you do not use any horizontal -- cgit v1.2.3