aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/ffmpeg/avio.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-01 12:28:15 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-10-01 12:28:15 +0000
commit08a0ddf3d8f9eb819e03d9cd6c8d79bd8634fec6 (patch)
treeb69df695577ecfecc3c12805faa49bd3b4d53576 /src/lib/ffmpeg/avio.pas
parent392718a615f10c62e710eca46a095cb37928fe1b (diff)
downloadusdx-08a0ddf3d8f9eb819e03d9cd6c8d79bd8634fec6.tar.gz
usdx-08a0ddf3d8f9eb819e03d9cd6c8d79bd8634fec6.tar.xz
usdx-08a0ddf3d8f9eb819e03d9cd6c8d79bd8634fec6.zip
- FFmpeg header update
- update to newest revision - if linked libs are too new, USDX will not compile anymore and display an error message (to avoid mysterious crashes if an unsupported version of FFmpeg is used) - comment change in UVisualizer.pas git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1428 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/lib/ffmpeg/avio.pas9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/ffmpeg/avio.pas b/src/lib/ffmpeg/avio.pas
index 70912e60..5107a9fb 100644
--- a/src/lib/ffmpeg/avio.pas
+++ b/src/lib/ffmpeg/avio.pas
@@ -27,7 +27,7 @@
(*
* Conversion of libavformat/avio.h
- * revision 12658, Mon Mar 31 17:31:11 2008 UTC
+ * revision 15120, Sun Aug 31 07:39:47 2008 UTC
*)
unit avio;
@@ -94,6 +94,7 @@ type
priv_data: pointer;
filename: PChar; (**< specified filename *)
end;
+ PPURLContext = ^PURLContext;
PURLPollEntry = ^TURLPollEntry;
TURLPollEntry = record
@@ -163,6 +164,12 @@ type
{$IFEND}
end;
+
+{$IF LIBAVFORMAT_VERSION >= 52021000} // 52.21.0
+function url_open_protocol(puc: PPURLContext; up: PURLProtocol;
+ filename: {const} PChar; flags: cint): cint;
+ cdecl; external av__format;
+{$IFEND}
function url_open(h: PPointer; filename: {const} PChar; flags: cint): cint;
cdecl; external av__format;
function url_read (h: PURLContext; buf: PChar; size: cint): cint;