diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2014-11-22 23:21:19 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2014-11-22 23:21:19 +0000 |
commit | fb174160559b9823a932fc238b55eb44619c47e8 (patch) | |
tree | bd90bfc144adefb13d4bc21c78f879e84f293790 /src/media/UMediaCore_FFmpeg.pas | |
parent | adb65ab322d26b262f1988d24ee5cf800e07b4bf (diff) | |
download | usdx-fb174160559b9823a932fc238b55eb44619c47e8.tar.gz usdx-fb174160559b9823a932fc238b55eb44619c47e8.tar.xz usdx-fb174160559b9823a932fc238b55eb44619c47e8.zip |
Remove unused variables and fix warnings with ifdefed variables. Thanks to rudi_s.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@3103 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/media/UMediaCore_FFmpeg.pas')
-rw-r--r-- | src/media/UMediaCore_FFmpeg.pas | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/media/UMediaCore_FFmpeg.pas b/src/media/UMediaCore_FFmpeg.pas index 55d9a779..3f6eca5f 100644 --- a/src/media/UMediaCore_FFmpeg.pas +++ b/src/media/UMediaCore_FFmpeg.pas @@ -504,9 +504,11 @@ begin end; function TMediaCore_FFmpeg.AVFormatOpenInput(ps: PPAVFormatContext; filename: {const} PAnsiChar): Integer; +{$IF LIBAVFORMAT_VERSION >= 54029104} var h: Pointer; buffer: Pointer; +{$ENDIF} begin {$IF LIBAVFORMAT_VERSION >= 54029104} ps^ := avformat_alloc_context(); |