diff options
Diffstat (limited to '')
-rw-r--r-- | src/config-darwin.inc | 1 | ||||
-rw-r--r-- | src/config.inc.in | 1 | ||||
-rw-r--r-- | src/ultrastardx.dpr | 5 |
3 files changed, 5 insertions, 2 deletions
diff --git a/src/config-darwin.inc b/src/config-darwin.inc index 67a4c242..3d7aa374 100644 --- a/src/config-darwin.inc +++ b/src/config-darwin.inc @@ -17,6 +17,7 @@ {$DEFINE FFMPEG_DIR := 'ffmpeg-0.8'} {$ELSE} {$DEFINE FFMPEG_DIR := 'ffmpeg'} + {$DEFINE useOLD_FFMPEG} {$IFEND} {$ENDIF} {$IF Defined(IncludeConstants)} diff --git a/src/config.inc.in b/src/config.inc.in index 168a1ced..a901a5fa 100644 --- a/src/config.inc.in +++ b/src/config.inc.in @@ -17,6 +17,7 @@ {$DEFINE FFMPEG_DIR := 'ffmpeg-@FFMPEG_VERSION_MAJOR@.@FFMPEG_VERSION_MINOR@'} {$ELSE} {$DEFINE FFMPEG_DIR := 'ffmpeg'} + {$DEFINE useOLD_FFMPEG} {$IFEND} {$ENDIF} {$IF Defined(IncludeConstants)} 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} |