diff options
author | komh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-17 09:12:51 +0000 |
---|---|---|
committer | komh <komh@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-17 09:12:51 +0000 |
commit | 11eeaf5005b64a49d7338303610a01d0b2d4f955 (patch) | |
tree | 79ded1439d31a8a68d5fb656c414c5b37fd8616d /get_path.h | |
parent | f414a15b33064bec510e9475aa0c84dbeb24f463 (diff) | |
download | mpv-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 'get_path.h')
-rw-r--r-- | get_path.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/get_path.h b/get_path.h index 759356e527..2f1909b601 100644 --- a/get_path.h +++ b/get_path.h @@ -24,10 +24,4 @@ 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 */ |