aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-01-04 14:18:08 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-01-04 14:18:08 +0000
commit18ec26284cfe8ebc0864bb5107deb52ee0660e3f (patch)
treeeddad7bbf56c6e85180e72e8aafa5ecdf3409a90 /src
parent202c4c9cfed7031834dd9fe6d2de3499315fa5ee (diff)
downloadusdx-18ec26284cfe8ebc0864bb5107deb52ee0660e3f.tar.gz
usdx-18ec26284cfe8ebc0864bb5107deb52ee0660e3f.tar.xz
usdx-18ec26284cfe8ebc0864bb5107deb52ee0660e3f.zip
major correction of wronge placed and missing fields.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2066 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/lib/ffmpeg/avio.pas10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/ffmpeg/avio.pas b/src/lib/ffmpeg/avio.pas
index b10121ab..fe55fa0e 100644
--- a/src/lib/ffmpeg/avio.pas
+++ b/src/lib/ffmpeg/avio.pas
@@ -114,9 +114,6 @@ type
name: PAnsiChar;
url_open: function (h: PURLContext; filename: {const} PAnsiChar; flags: cint): cint; cdecl;
url_read: function (h: PURLContext; buf: PByteArray; size: cint): cint; cdecl;
- {$IF LIBAVFORMAT_VERSION >= 52034000} // 52.34.0
- url_read_complete: function (h: PURLContext; buf: PByteArray; size: cint): cint; cdecl;
- {$IFEND}
url_write: function (h: PURLContext; buf: PByteArray; size: cint): cint; cdecl;
url_seek: function (h: PURLContext; pos: cint64; whence: cint): cint64; cdecl;
url_close: function (h: PURLContext): cint; cdecl;
@@ -132,6 +129,9 @@ type
url_read_seek: function (h: PURLContext; stream_index: cint;
timestamp: cint64; flags: cint): cint64; cdecl;
{$IFEND}
+ {$IF LIBAVFORMAT_VERSION >= 52031000} // 52.31.0
+ url_get_file_handle: function (h: PURLContext): cint; cdecl;
+ {$IFEND}
end;
(**
@@ -184,6 +184,10 @@ function url_open(h: PPointer; filename: {const} PAnsiChar; flags: cint): cint;
cdecl; external av__format;
function url_read (h: PURLContext; buf: PByteArray; size: cint): cint;
cdecl; external av__format;
+{$IF LIBAVFORMAT_VERSION >= 52034000} // 52.34.0
+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;
cdecl; external av__format;
function url_seek (h: PURLContext; pos: cint64; whence: cint): cint64;