summaryrefslogtreecommitdiffstats
path: root/get_path.h
diff options
context:
space:
mode:
authorkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-15 08:30:06 +0000
committerkomh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-15 08:30:06 +0000
commit8686b281f85ba58c24729d1aad75ddd04ab9c537 (patch)
treead4e39f34d7d19c01f49c6c05ec65e9e262d150d /get_path.h
parent2c2097601e579ee0a5af2f7b4f5ac0aed3c3e3ff (diff)
downloadmpv-8686b281f85ba58c24729d1aad75ddd04ab9c537.tar.bz2
mpv-8686b281f85ba58c24729d1aad75ddd04ab9c537.tar.xz
Add -codecpath option.
It allows to search binary codecs in non-standard directories. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30897 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'get_path.h')
-rw-r--r--get_path.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/get_path.h b/get_path.h
index 2f1909b601..759356e527 100644
--- a/get_path.h
+++ b/get_path.h
@@ -24,4 +24,10 @@
char *get_path(const char *filename);
void set_path_env(void);
+#ifdef CONFIG_WIN32DLL
+extern void SetCodecPath(const char *); // in loader/drv.c
+
+static char *codec_path=NULL;
+#endif
+
#endif /* MPLAYER_GET_PATH_H */