From 48b8be5a61620c84dcbeca0625523ac490f37093 Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Wed, 15 May 2013 20:59:11 +0000 Subject: fix compilation on ubuntu and lart release engineers, who mix releases ;-) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2984 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/media/UAudioDecoder_FFmpeg.pas | 2 +- src/media/UVideo.pas | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/media') diff --git a/src/media/UAudioDecoder_FFmpeg.pas b/src/media/UAudioDecoder_FFmpeg.pas index 46ff0806..21322064 100644 --- a/src/media/UAudioDecoder_FFmpeg.pas +++ b/src/media/UAudioDecoder_FFmpeg.pas @@ -462,7 +462,7 @@ begin // Close the video file if (fFormatCtx <> nil) then begin - {$IF LIBAVFORMAT_VERSION >= 53017003)} + {$IF LIBAVFORMAT_VERSION >= 53024002)} avformat_close_input(@fFormatCtx); {$ELSE} av_close_input_file(fFormatCtx); diff --git a/src/media/UVideo.pas b/src/media/UVideo.pas index 0fc86ac4..a4b12962 100644 --- a/src/media/UVideo.pas +++ b/src/media/UVideo.pas @@ -584,7 +584,7 @@ begin end; if (fFormatContext <> nil) then - {$IF LIBAVFORMAT_VERSION >= 53017003)} + {$IF LIBAVFORMAT_VERSION >= 53024002)} avformat_close_input(@fFormatContext); {$ELSE} av_close_input_file(fFormatContext); -- cgit v1.2.3