aboutsummaryrefslogtreecommitdiffstats
path: root/src/config-win.inc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/config-win.inc36
1 files changed, 21 insertions, 15 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}