diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-08-26 00:49:53 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-08-26 00:49:53 +0000 |
commit | 7a0975b9bf286de05b63c24dc310bee1f244b9c5 (patch) | |
tree | 1e6ddcce8cb29217fe77916c755ebfd14d9153ff /src | |
parent | 7a0c585fedbe21776651fce77a992cce2b319450 (diff) | |
download | usdx-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.pas | 5 |
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; |