summaryrefslogtreecommitdiffstats
path: root/mpcommon.h
diff options
context:
space:
mode:
authorkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-17 09:12:51 +0000
committerkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-17 09:12:51 +0000
commit11eeaf5005b64a49d7338303610a01d0b2d4f955 (patch)
tree79ded1439d31a8a68d5fb656c414c5b37fd8616d /mpcommon.h
parentf414a15b33064bec510e9475aa0c84dbeb24f463 (diff)
downloadmpv-11eeaf5005b64a49d7338303610a01d0b2d4f955.tar.bz2
mpv-11eeaf5005b64a49d7338303610a01d0b2d4f955.tar.xz
Follow a more proper way to support -codecpath.
1. Include loader/drv.h for SetCodecPath() instead of a declaration of it. 2. Move codec_path from get_path.h to mpcommon.h and mpcommon.c. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30914 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpcommon.h')
-rw-r--r--mpcommon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mpcommon.h b/mpcommon.h
index 412225b104..a81aa8e1ba 100644
--- a/mpcommon.h
+++ b/mpcommon.h
@@ -37,4 +37,8 @@ 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 */