diff libvo/vo_dxr2.c @ 24242:76f5d8892c04

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.
author diego
date Tue, 28 Aug 2007 11:20:24 +0000
parents a124f3abc1ec
children 3aee342be929
line wrap: on
line diff
--- a/libvo/vo_dxr2.c	Tue Aug 28 11:04:36 2007 +0000
+++ b/libvo/vo_dxr2.c	Tue Aug 28 11:20:24 2007 +0000
@@ -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;