mirror of
https://github.com/mpv-player/mpv
synced 2025-02-27 10:50:53 +00:00
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
This commit is contained in:
parent
1f3ab9672a
commit
2f7e5f028e
@ -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);
|
printf("Win32 LoadLibrary failed to load: %s\n", checked);
|
||||||
|
|
||||||
#define RVA(x) ((char *)wm->module+(unsigned int)(x))
|
#define RVA(x) ((char *)wm->module+(unsigned int)(x))
|
||||||
|
Loading…
Reference in New Issue
Block a user