aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-08-26 00:49:53 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-08-26 00:49:53 +0000
commit7a0975b9bf286de05b63c24dc310bee1f244b9c5 (patch)
tree1e6ddcce8cb29217fe77916c755ebfd14d9153ff /src
parent7a0c585fedbe21776651fce77a992cce2b319450 (diff)
downloadusdx-7a0975b9bf286de05b63c24dc310bee1f244b9c5.tar.gz
usdx-7a0975b9bf286de05b63c24dc310bee1f244b9c5.tar.xz
usdx-7a0975b9bf286de05b63c24dc310bee1f244b9c5.zip
another try to fix compilation on linux.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2626 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src')
-rw-r--r--src/lib/ffmpeg/avio.pas5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/ffmpeg/avio.pas b/src/lib/ffmpeg/avio.pas
index ecba6323..adb59a44 100644
--- a/src/lib/ffmpeg/avio.pas
+++ b/src/lib/ffmpeg/avio.pas
@@ -428,11 +428,16 @@ function register_protocol(protocol: PURLProtocol): cint;
function av_register_protocol(protocol: PURLProtocol): cint;
cdecl; external av__format name 'register_protocol';
{$ELSE}
+{$IF LIBAVFORMAT_VERSION < 52078003} // < 52.78.3
+function av_register_protocol(protocol: PURLProtocol): cint;
+ cdecl; external av__format;
+{$ELSE}
{$IFDEF FF_API_REGISTER_PROTOCOL}
function av_register_protocol(protocol: PURLProtocol): cint;
cdecl; external av__format;
{$ENDIF}
{$IFEND}
+{$IFEND}
{$IF LIBAVFORMAT_VERSION >= 52069000} // 52.69.0
function av_register_protocol2(protocol: PURLProtocol; size: cint): cint;
cdecl; external av__format;