summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-21 10:13:00 +0000
committerattila <attila@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-21 10:13:00 +0000
commita1f7ee1a4bf627554732dc41ef4e4f0a027018f6 (patch)
treec3eea5fbe33f345b38b27ae11e450b4a3b2c7285
parentd84999d4800942d0ca099ba565e138423dc0d7da (diff)
downloadmpv-a1f7ee1a4bf627554732dc41ef4e4f0a027018f6.tar.bz2
mpv-a1f7ee1a4bf627554732dc41ef4e4f0a027018f6.tar.xz
Make all instances of codec_patch unconditional, otherwise
compilation will break on systems that do not have win32 dlls enabled. Fixes compilation bug introduced by r30942 10l to the anonymous guy who explains the importance of commit messages and would like to have romance novels in these very messages. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30945 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mpcommon.c2
-rw-r--r--mpcommon.h2
2 files changed, 0 insertions, 4 deletions
diff --git a/mpcommon.c b/mpcommon.c
index 90e2adbd84..55b6bb8558 100644
--- a/mpcommon.c
+++ b/mpcommon.c
@@ -314,7 +314,5 @@ const m_option_t noconfig_opts[] = {
{NULL, NULL, 0, 0, 0, 0, NULL}
};
-#ifdef CONFIG_WIN32DLL
char *codec_path = NULL;
-#endif
diff --git a/mpcommon.h b/mpcommon.h
index a81aa8e1ba..5e2368562f 100644
--- a/mpcommon.h
+++ b/mpcommon.h
@@ -37,8 +37,6 @@ void set_osd_subtitle(subtitle *subs);
extern int disable_system_conf;
extern int disable_user_conf;
-#ifdef CONFIG_WIN32DLL
extern char *codec_path;
-#endif
#endif /* MPLAYER_MPCOMMON_H */