From 52aa127d05b31ac99fd3b8fe5670d57a63779be7 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Thu, 24 May 2012 09:09:01 +0000 Subject: add missing avformat_find_stream_info, av_find_best_stream, avformat_open_input and PPAVCodec git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2887 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg-0.10/avcodec.pas | 1 + src/lib/ffmpeg-0.10/avformat.pas | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib/ffmpeg-0.10') diff --git a/src/lib/ffmpeg-0.10/avcodec.pas b/src/lib/ffmpeg-0.10/avcodec.pas index cf4e9e8b..d1c42f31 100644 --- a/src/lib/ffmpeg-0.10/avcodec.pas +++ b/src/lib/ffmpeg-0.10/avcodec.pas @@ -1736,6 +1736,7 @@ type PAVClass = ^TAVClass; + PPAVCodec = ^PAVCodec; PAVCodec = ^TAVCodec; PAVHWAccel = ^TAVHWAccel; diff --git a/src/lib/ffmpeg-0.10/avformat.pas b/src/lib/ffmpeg-0.10/avformat.pas index 31d0777d..e5b1f42a 100644 --- a/src/lib/ffmpeg-0.10/avformat.pas +++ b/src/lib/ffmpeg-0.10/avformat.pas @@ -1716,7 +1716,7 @@ function av_open_input_file(var ic_ptr: PAVFormatContext; filename: PAnsiChar; * * @note If you want to use custom IO, preallocate the format context and set its pb field. *) -function avformat_open_input(ps: {PPAVFormatContext} pointer; {const} filename: PAnsiChar; fmt: PAVInputFormat; options: {PPAVDictionary} pointer): cint; +function avformat_open_input(ps: PPAVFormatContext; {const} filename: PAnsiChar; fmt: PAVInputFormat; options: PPAVDictionary): cint; cdecl; external av__format; function av_demuxer_open(ic: PAVFormatContext; ap: TAVFormatParameters): cint; @@ -1761,7 +1761,7 @@ function av_find_stream_info(ic: PAVFormatContext): cint; {deprecated} * @todo Let the user decide somehow what information is needed so that * we do not waste time getting stuff the user does not need. *) -function avformat_find_stream_info(ic: PAVFormatContext; options: {PPAVDictionary} pointer): cint; +function avformat_find_stream_info(ic: PAVFormatContext; options: PPAVDictionary): cint; cdecl; external av__format; (** @@ -1805,7 +1805,7 @@ function av_find_best_stream(ic: PAVFormatContext; type_: TAVMediaType; wanted_stream_nb: cint; related_stream: cint; - decoder_ret: {PPAVCodec} pointer; + decoder_ret: PPAVCodec; flags: cint): cint; cdecl; external av__format; -- cgit v1.2.3