From c7debe9f511f035ac1221f8dce230a4f34dadb3b Mon Sep 17 00:00:00 2001 From: k-m_schindler Date: Sat, 20 Oct 2012 08:49:17 +0000 Subject: try to fix compilation with old ffmpeg git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2928 b956fd51-792f-4845-bead-9b4dfca2ff2c --- src/ultrastardx.dpr | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ultrastardx.dpr') diff --git a/src/ultrastardx.dpr b/src/ultrastardx.dpr index 9a77eea3..6636724f 100644 --- a/src/ultrastardx.dpr +++ b/src/ultrastardx.dpr @@ -91,10 +91,11 @@ uses avcodec in 'lib\' + FFMPEG_DIR + '\avcodec.pas', avformat in 'lib\' + FFMPEG_DIR + '\avformat.pas', avutil in 'lib\' + FFMPEG_DIR + '\avutil.pas', - mathematics in 'lib\' + FFMPEG_DIR + '\mathematics.pas', - opt in 'lib\' + FFMPEG_DIR + '\opt.pas', rational in 'lib\' + FFMPEG_DIR + '\rational.pas', avio in 'lib\' + FFMPEG_DIR + '\avio.pas', + {$IFDEF useOLD_FFMPEG} + mathematics in 'lib\' + FFMPEG_DIR + '\mathematics.pas', + {$ENDIF} {$IFDEF UseSWScale} swscale in 'lib\' + FFMPEG_DIR + '\swscale.pas', {$ENDIF} -- cgit v1.2.3