From 2f7e5f028ee5bc2a2c5f03320bcc8fbc296ec6ea Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 18 Dec 2007 09:13:19 +0000 Subject: [PATCH] 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 --- loader/module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))