diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 11:20:24 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-08-28 11:20:24 +0000 |
commit | 84157efa5ac4ee391e8615db69b07027428e331d (patch) | |
tree | 08118149c7d5e3cf022159765da3f0848da52164 /libvo/vo_dxr2.c | |
parent | 2e2c64dd3adb225800b5bc42cff75cfca67071be (diff) | |
download | mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.bz2 mpv-84157efa5ac4ee391e8615db69b07027428e331d.tar.xz |
Clean up the way get_path is handled: Compile get_path.c to an object to link
against instead of directly #including the C file and replace the many extern
declarations by a proper header file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_dxr2.c')
-rw-r--r-- | libvo/vo_dxr2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libvo/vo_dxr2.c b/libvo/vo_dxr2.c index 87a5d3fdb3..913400c2b6 100644 --- a/libvo/vo_dxr2.c +++ b/libvo/vo_dxr2.c @@ -18,6 +18,7 @@ #include "mp_msg.h" #include "m_option.h" #include "sub.h" +#include "get_path.h" #include "libmpdemux/mpeg_packetizer.h" #ifdef X11_FULLSCREEN @@ -27,8 +28,6 @@ #include <dxr2ioctl.h> -extern char *get_path(const char *filename); - extern float monitor_aspect; extern float movie_aspect; |