summaryrefslogtreecommitdiffstats
path: root/loader/module.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-18 20:44:01 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-03-18 20:44:01 +0000
commita743c0a73824f1f3bce5b59ef6d57e871d3f5022 (patch)
tree84fc641cdea0bcbe7dc54d05c32dfd5ae617cfae /loader/module.c
parent70017fa3889084ce2c5317cf352f7581ff244d76 (diff)
downloadmpv-a743c0a73824f1f3bce5b59ef6d57e871d3f5022.tar.bz2
mpv-a743c0a73824f1f3bce5b59ef6d57e871d3f5022.tar.xz
Split codec path related code into a separate file to fix Windows build.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30930 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/module.c')
-rw-r--r--loader/module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/module.c b/loader/module.c
index 79c01270d3..98b31125af 100644
--- a/loader/module.c
+++ b/loader/module.c
@@ -46,6 +46,7 @@
#endif
#include "win32.h"
#include "drv.h"
+#include "codecpath.h"
#ifdef EMU_QTX_API
#include "wrapper.h"
@@ -366,7 +367,6 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags)
{
WINE_MODREF *wm = 0;
char* listpath[] = { "", "", "/usr/lib/win32", "/usr/local/lib/win32", 0 };
- extern char* def_path;
char path[512];
char checked[2000];
int i = -1;