diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-18 09:13:19 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-12-18 09:13:19 +0000 |
commit | 2f7e5f028ee5bc2a2c5f03320bcc8fbc296ec6ea (patch) | |
tree | 655969412cdc33fd6d2e7bef4b8bc35aae5affe6 /loader | |
parent | 1f3ab9672a41cb0eb249a0e969188735088720d8 (diff) | |
download | mpv-2f7e5f028ee5bc2a2c5f03320bcc8fbc296ec6ea.tar.bz2 mpv-2f7e5f028ee5bc2a2c5f03320bcc8fbc296ec6ea.tar.xz |
Stop MPlayer from complaining about bogus AviSynth DLL load failures.
This was causing major confusion and resulting usability problems.
patch by Jan Knutar, jknutar nic fi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25446 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r-- | loader/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/module.c b/loader/module.c index 3dce46a8b7..4f2acf4a66 100644 --- a/loader/module.c +++ b/loader/module.c @@ -426,7 +426,7 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags) } } - if (!wm) + if (!wm && !strstr(checked, "avisynth.dll")) printf("Win32 LoadLibrary failed to load: %s\n", checked); #define RVA(x) ((char *)wm->module+(unsigned int)(x)) |