diff options
Diffstat (limited to '')
-rw-r--r-- | src/config-win.inc | 53 |
1 files changed, 15 insertions, 38 deletions
diff --git a/src/config-win.inc b/src/config-win.inc index 0359038d..46e1f336 100644 --- a/src/config-win.inc +++ b/src/config-win.inc @@ -6,44 +6,21 @@ {$DEFINE HaveFFmpeg} -{$IF Defined(HaveFFmpeg)} - {$IFNDEF FFMPEG_DIR} - {$DEFINE FFMPEG_DIR := 'ffmpeg-0.10'} - {$ENDIF} - {$IFNDEF AVCODEC_PATH} - {$DEFINE AVCODEC_PATH := 'lib\ffmpeg-0.10\avcodec.pas'} - {$ENDIF} - {$IFNDEF AVFORMAT_PATH} - {$DEFINE AVFORMAT_PATH := 'lib\ffmpeg-0.10\avformat.pas'} - {$ENDIF} - {$IFNDEF AVUTIL_PATH} - {$DEFINE AVUTIL_PATH := 'lib\ffmpeg-0.10\avutil.pas'} - {$ENDIF} - {$IFNDEF RATIONAL_PATH} - {$DEFINE RATIONAL_PATH := 'lib\ffmpeg-0.10\rational.pas'} - {$ENDIF} - {$IFNDEF AVIO_PATH} - {$DEFINE AVIO_PATH := 'lib\ffmpeg-0.10\avio.pas'} - {$ENDIF} - {$IFNDEF SWSCALE_PATH} - {$DEFINE SWSCALE_PATH := 'lib\ffmpeg-0.10\swscale.pas'} - {$ENDIF} - {$IF Defined(IncludeConstants)} - av__codec = 'avcodec-52'; - LIBAVCODEC_VERSION_MAJOR = 52; - LIBAVCODEC_VERSION_MINOR = 67; - LIBAVCODEC_VERSION_RELEASE = 2; - - av__format = 'avformat-52'; - LIBAVFORMAT_VERSION_MAJOR = 52; - LIBAVFORMAT_VERSION_MINOR = 62; - LIBAVFORMAT_VERSION_RELEASE = 0; - - av__util = 'avutil-50'; - LIBAVUTIL_VERSION_MAJOR = 50; - LIBAVUTIL_VERSION_MINOR = 15; - LIBAVUTIL_VERSION_RELEASE = 2; - {$IFEND} +{$IF Defined(HaveFFmpeg) and Defined(IncludeConstants)} + av__codec = 'avcodec-52'; + LIBAVCODEC_VERSION_MAJOR = 52; + LIBAVCODEC_VERSION_MINOR = 67; + LIBAVCODEC_VERSION_RELEASE = 2; + + av__format = 'avformat-52'; + LIBAVFORMAT_VERSION_MAJOR = 52; + LIBAVFORMAT_VERSION_MINOR = 62; + LIBAVFORMAT_VERSION_RELEASE = 0; + + av__util = 'avutil-50'; + LIBAVUTIL_VERSION_MAJOR = 50; + LIBAVUTIL_VERSION_MINOR = 15; + LIBAVUTIL_VERSION_RELEASE = 2; {$IFEND} {$DEFINE HaveSWScale} |