From 4c038bad8edb8cc60e5db85e83f55798de66c4b6 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Fri, 17 May 2013 21:37:03 +0000 Subject: one more fix on avformat and a try with opt2.pas. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2993 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/lib/ffmpeg-0.9/avformat.pas | 10 ---------- src/lib/ffmpeg-0.9/libavutil/opt2.pas | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) (limited to 'src/lib') diff --git a/src/lib/ffmpeg-0.9/avformat.pas b/src/lib/ffmpeg-0.9/avformat.pas index 0e03fbe1..c4ca59b4 100644 --- a/src/lib/ffmpeg-0.9/avformat.pas +++ b/src/lib/ffmpeg-0.9/avformat.pas @@ -1784,16 +1784,6 @@ function av_add_index_entry(st: PAVStream; pos: cint64; timestamp: cint64; size: cint; distance: cint; flags: cint): cint; cdecl; external av__format; -(** - * Add an index entry into a sorted list. Update the entry if the list - * already contains it. - * - * @param timestamp timestamp in the timebase of the given stream - *) -function av_add_index_entry(st: PAVStream; pos: cint64; timestamp: cint64; - size: cint; distance: cint; flags: cint): cint; - cdecl; external av__format; - {$IFDEF FF_API_SEEK_PUBLIC} function av_seek_frame_binary(s: PAVFormatContext; stream_index: cint; target_ts: cint64; flags: cint): cint; diff --git a/src/lib/ffmpeg-0.9/libavutil/opt2.pas b/src/lib/ffmpeg-0.9/libavutil/opt2.pas index 1d88d7af..dcc240c5 100644 --- a/src/lib/ffmpeg-0.9/libavutil/opt2.pas +++ b/src/lib/ffmpeg-0.9/libavutil/opt2.pas @@ -60,7 +60,7 @@ function av_opt_set_q (obj: pointer; name: {const} PAnsiChar; val: TAVRation (** * @note the returned string will av_malloc()ed and must be av_free()ed by the caller *) -function av_opt_get (obj: pointer; name: {const} PAnsiChar; search_flags: cint; outval: Pcuint8): cint; +function av_opt_get (obj: pointer; name: {const} PAnsiChar; search_flags: cint; outval: ^Pcuint8): cint; cdecl; external av__util; function av_opt_get_int (obj: pointer; name: {const} PAnsiChar; search_flags: cint; outval: Pcint64): cint; cdecl; external av__util; -- cgit v1.2.3