aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-20 18:53:45 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-07-20 18:53:45 +0000
commit8ba7eab8d58733b17e41d03ac237e7ff813ff4b0 (patch)
tree030b1c3e175ce5110744170cb8e260ba599e1ed2 /src
parent3a82c1e1f853942d351e3622e6bd64768c9a9553 (diff)
downloadusdx-8ba7eab8d58733b17e41d03ac237e7ff813ff4b0.tar.gz
usdx-8ba7eab8d58733b17e41d03ac237e7ff813ff4b0.tar.xz
usdx-8ba7eab8d58733b17e41d03ac237e7ff813ff4b0.zip
update avformat to 52.68.0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2584 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/lib/ffmpeg/avformat.pas9
-rw-r--r--src/lib/ffmpeg/avio.pas2
2 files changed, 7 insertions, 4 deletions
diff --git a/src/lib/ffmpeg/avformat.pas b/src/lib/ffmpeg/avformat.pas
index 34142125..436ccf9b 100644
--- a/src/lib/ffmpeg/avformat.pas
+++ b/src/lib/ffmpeg/avformat.pas
@@ -23,7 +23,7 @@
*
* Conversion of libavformat/avformat.h
* Min. version: 50.5.0 , revision 6577, Sat Oct 7 15:30:46 2006 UTC
- * Max. version: 52.67.0, revision 23357, Sun May 30 21:30:00 2010 CET
+ * Max. version: 52.68.0, revision 23634, Tue Jul 20 21:30:00 2010 CET
*)
unit avformat;
@@ -81,7 +81,7 @@ const
*)
(* Max. supported version by this header *)
LIBAVFORMAT_MAX_VERSION_MAJOR = 52;
- LIBAVFORMAT_MAX_VERSION_MINOR = 67;
+ LIBAVFORMAT_MAX_VERSION_MINOR = 68;
LIBAVFORMAT_MAX_VERSION_RELEASE = 0;
LIBAVFORMAT_MAX_VERSION = (LIBAVFORMAT_MAX_VERSION_MAJOR * VERSION_MAJOR) +
(LIBAVFORMAT_MAX_VERSION_MINOR * VERSION_MINOR) +
@@ -203,7 +203,8 @@ function av_metadata_set(var pm: PAVMetadata; key: {const} PAnsiChar; value: {co
(**
* Sets the given tag in m, overwriting an existing tag.
* @param key tag key to add to m (will be av_strduped depending on flags)
- * @param value tag value to add to m (will be av_strduped depending on flags)
+ * @param value tag value to add to m (will be av_strduped depending on flags).
+ * Passing a NULL value will cause an existing tag to be deleted.
* @return >= 0 on success otherwise an error code <0
*)
function av_metadata_set2(var pm: PAVMetadata; key: {const} PAnsiChar; value: {const} PAnsiChar; flags: cint): cint;
@@ -386,8 +387,10 @@ const
{$IF LIBAVFORMAT_VERSION_MAJOR < 53}
MAX_STREAMS = 20;
{$ELSE}
+{$IF LIBAVFORMAT_VERSION < 52068000} // < 52.68.0
MAX_STREAMS = 100;
{$IFEND}
+{$IFEND}
AVFMT_NOOUTPUTLOOP = -1;
AVFMT_INFINITEOUTPUTLOOP = 0;
diff --git a/src/lib/ffmpeg/avio.pas b/src/lib/ffmpeg/avio.pas
index 0ebca5fa..1965e037 100644
--- a/src/lib/ffmpeg/avio.pas
+++ b/src/lib/ffmpeg/avio.pas
@@ -258,7 +258,7 @@ function url_read (h: PURLContext; buf: PByteArray; size: cint): cint;
function url_read_complete (h: PURLContext; buf: PByteArray; size: cint): cint; cdecl;
cdecl; external av__format;
{$IFEND}
-function url_write (h: PURLContext; buf: PByteArray; size: cint): cint;
+function url_write (h: PURLContext; {const} buf: PByteArray; size: cint): cint;
cdecl; external av__format;
function url_seek (h: PURLContext; pos: cint64; whence: cint): cint64;
cdecl; external av__format;