diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-07-20 21:13:50 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-07-20 21:13:50 +0000 |
commit | 339f3b5e57c4febcaeadeea6bf643b93baa8c66f (patch) | |
tree | 78cfcba3e18c4e76ac5c7bc950ec860cd579572c /src | |
parent | d08099847764ab27552fd1133eeb623c8b01b2a3 (diff) | |
download | usdx-339f3b5e57c4febcaeadeea6bf643b93baa8c66f.tar.gz usdx-339f3b5e57c4febcaeadeea6bf643b93baa8c66f.tar.xz usdx-339f3b5e57c4febcaeadeea6bf643b93baa8c66f.zip |
update avcodec to 52.73.0
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2592 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ffmpeg/avcodec.pas | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/lib/ffmpeg/avcodec.pas b/src/lib/ffmpeg/avcodec.pas index a441232d..5bd242a0 100644 --- a/src/lib/ffmpeg/avcodec.pas +++ b/src/lib/ffmpeg/avcodec.pas @@ -23,7 +23,7 @@ * * Conversion of libavcodec/avcodec.h * Min. version: 51.16.0, revision 6577, Sat Oct 7 15:30:46 2006 UTC - * Max. version: 52.72.0, revision 23338, Sun May 30 20:55 2010 CET + * Max. version: 52.73.0, revision 23421, Sun May 30 20:55 2010 CET * *) @@ -82,7 +82,7 @@ const *) (* Max. supported version by this header *) LIBAVCODEC_MAX_VERSION_MAJOR = 52; - LIBAVCODEC_MAX_VERSION_MINOR = 72; + LIBAVCODEC_MAX_VERSION_MINOR = 73; LIBAVCODEC_MAX_VERSION_RELEASE = 0; LIBAVCODEC_MAX_VERSION = (LIBAVCODEC_MAX_VERSION_MAJOR * VERSION_MAJOR) + (LIBAVCODEC_MAX_VERSION_MINOR * VERSION_MINOR) + @@ -3548,6 +3548,18 @@ function avcodec_get_pix_fmt(name: {const} PAnsiChar): TAVPixelFormat; function avcodec_pix_fmt_to_codec_tag(pix_fmt: TAVPixelFormat): cuint; cdecl; external av__codec; +{$IF LIBAVCODEC_VERSION >= 52073000} // 52.73.0 +(** + * Puts a string representing the codec tag codec_tag in buf. + * + * @param buf_size size in bytes of buf + * @return the length of the string that would have been generated if + * enough space had been available, excluding the trailing null + *) +function av_get_codec_tag_string(buf: PAnsiChar; buf_size: size_t; codec_tag: cuint): size_t; + cdecl; external av__codec; +{$IFEND} + const FF_LOSS_RESOLUTION = $0001; {**< loss due to resolution change *} FF_LOSS_DEPTH = $0002; {**< loss due to color depth change *} |