summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-12 16:39:26 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-04-12 16:39:26 +0000
commitc526173ede76ee84410423f2cb3ffe101f6cc0cd (patch)
tree3f74e76e5218fe86b92822a1af51e6f1e2cf416d /configure
parent275dd2cf8c8577569d8f150ade14ecd5b0812a5f (diff)
downloadmpv-c526173ede76ee84410423f2cb3ffe101f6cc0cd.tar.bz2
mpv-c526173ede76ee84410423f2cb3ffe101f6cc0cd.tar.xz
libavformat support for windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12179 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 9e10a42268..5a1c909edd 100755
--- a/configure
+++ b/configure
@@ -5095,10 +5095,14 @@ else
fi
_def_libavformat='#undef USE_LIBAVFORMAT'
+_def_libavformat_win32='#undef CONFIG_WIN32'
if test "$_libavformat" = yes ; then
_def_libavformat='#define USE_LIBAVFORMAT 1'
_ld_libavformat='libavformat/libavformat.a'
_dep_libavformat='libavformat/libavformat.a'
+ if mingw32 || cygwin ; then
+ _def_libavformat_win32='#define CONFIG_WIN32 1'
+ fi
fi
echocheck "libdv-0.9.5+"
@@ -6296,6 +6300,7 @@ $_def_libavcodecso
/* ffmpeg's libavformat support (requires libavformat source) */
$_def_libavformat
+$_def_libavformat_win32
/* risky codecs */
#define CONFIG_RISKY 1