diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-23 18:01:00 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-03-23 18:01:00 +0000 |
commit | 5e480c7b817748e000caa967711f28eae5e2a3f2 (patch) | |
tree | 83a6663e3ced7c09afde135341c6760fe761465b /loader/module.c | |
parent | cb26eaf0bbcf028e3cf23c912e061268dcbb8127 (diff) | |
download | mpv-5e480c7b817748e000caa967711f28eae5e2a3f2.tar.bz2 mpv-5e480c7b817748e000caa967711f28eae5e2a3f2.tar.xz |
Get rid of pointless def_path variable; use codec_path directly instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30949 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/module.c')
-rw-r--r-- | loader/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/loader/module.c b/loader/module.c index b6eebcf19d..d0f32d2537 100644 --- a/loader/module.c +++ b/loader/module.c @@ -393,9 +393,9 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags) strncpy(path, libname, 511); else /* check default user path */ - strncpy(path, def_path, 300); + strncpy(path, codec_path, 300); } - else if (strcmp(def_path, listpath[i])) + else if (strcmp(codec_path, listpath[i])) /* path from the list */ strncpy(path, listpath[i], 300); else |