aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/config-win.inc36
-rw-r--r--src/config.inc.in25
2 files changed, 33 insertions, 28 deletions
diff --git a/src/config-win.inc b/src/config-win.inc
index 843fdb0e..efa2413c 100644
--- a/src/config-win.inc
+++ b/src/config-win.inc
@@ -5,21 +5,27 @@
{* Libraries *}
{$DEFINE HaveFFmpeg}
-{$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;
+
+{$IF Defined(HaveFFmpeg)}
+ {$IFNDEF FFMPEG_DIR}
+ {$DEFINE FFMPEG_DIR := 'ffmpeg'}
+ {$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}
{$IFEND}
{$DEFINE HaveSWScale}
diff --git a/src/config.inc.in b/src/config.inc.in
index 9fdac067..ba454fb7 100644
--- a/src/config.inc.in
+++ b/src/config.inc.in
@@ -20,21 +20,20 @@
{$IFEND}
{$IFEND}
{$IF Defined(IncludeConstants)}
- av__codec = 'libavcodec';
- LIBAVCODEC_VERSION_MAJOR = @libavcodec_VERSION_MAJOR@;
- LIBAVCODEC_VERSION_MINOR = @libavcodec_VERSION_MINOR@;
- LIBAVCODEC_VERSION_RELEASE = @libavcodec_VERSION_RELEASE@;
+ av__codec = 'libavcodec';
+ LIBAVCODEC_VERSION_MAJOR = @libavcodec_VERSION_MAJOR@;
+ LIBAVCODEC_VERSION_MINOR = @libavcodec_VERSION_MINOR@;
+ LIBAVCODEC_VERSION_RELEASE = @libavcodec_VERSION_RELEASE@;
- av__format = 'libavformat';
- LIBAVFORMAT_VERSION_MAJOR = @libavformat_VERSION_MAJOR@;
- LIBAVFORMAT_VERSION_MINOR = @libavformat_VERSION_MINOR@;
- LIBAVFORMAT_VERSION_RELEASE = @libavformat_VERSION_RELEASE@;
+ av__format = 'libavformat';
+ LIBAVFORMAT_VERSION_MAJOR = @libavformat_VERSION_MAJOR@;
+ LIBAVFORMAT_VERSION_MINOR = @libavformat_VERSION_MINOR@;
+ LIBAVFORMAT_VERSION_RELEASE = @libavformat_VERSION_RELEASE@;
- av__util = 'libavutil';
- LIBAVUTIL_VERSION_MAJOR = @libavutil_VERSION_MAJOR@;
- LIBAVUTIL_VERSION_MINOR = @libavutil_VERSION_MINOR@;
- LIBAVUTIL_VERSION_RELEASE = @libavutil_VERSION_RELEASE@;
-
+ av__util = 'libavutil';
+ LIBAVUTIL_VERSION_MAJOR = @libavutil_VERSION_MAJOR@;
+ LIBAVUTIL_VERSION_MINOR = @libavutil_VERSION_MINOR@;
+ LIBAVUTIL_VERSION_RELEASE = @libavutil_VERSION_RELEASE@;
{$IFEND}
{$IFEND}