aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-23 22:57:26 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-23 22:57:26 +0000
commit88a9fd30446c4353d42b5a1ccd882e074c6d6c0e (patch)
treebacc3f0ddfb5e770e484f3f1a3cb03c0bbf4e5d2 /src
parentad5216ac14bb09ed5fc9280f7ea2a4aaf6f198b6 (diff)
downloadusdx-88a9fd30446c4353d42b5a1ccd882e074c6d6c0e.tar.gz
usdx-88a9fd30446c4353d42b5a1ccd882e074c6d6c0e.tar.xz
usdx-88a9fd30446c4353d42b5a1ccd882e074c6d6c0e.zip
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
Diffstat (limited to '')
-rw-r--r--src/lib/ffmpeg/avcodec.pas16
1 files changed, 14 insertions, 2 deletions
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