aboutsummaryrefslogtreecommitdiffstats
path: root/src/media/UMediaCore_FFmpeg.pas
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2014-11-22 23:21:19 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2014-11-22 23:21:19 +0000
commitfb174160559b9823a932fc238b55eb44619c47e8 (patch)
treebd90bfc144adefb13d4bc21c78f879e84f293790 /src/media/UMediaCore_FFmpeg.pas
parentadb65ab322d26b262f1988d24ee5cf800e07b4bf (diff)
downloadusdx-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.pas2
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();