1
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:33:46 +01:00

ugly hack for morgands

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5769 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-04-21 16:11:42 +00:00
parent 0d7e9608e0
commit 3c79c0499e

View File

@ -405,7 +405,14 @@ HMODULE WINAPI LoadLibraryExA(LPCSTR libname, HANDLE hfile, DWORD flags)
if (!wm)
printf("Win32 LoadLibrary failed to load: %s\n", checked);
else
{
extern char *win32_codec_name;
printf("Loaded %s to address %p\n", libname, wm->module);
/* XXX: FIXME, _VERY_ UGLY HACK */
if (!strcmp(libname, "m3jpegdec.ax"))
win32_codec_name = strdup("m3jpeg32.dll");
}
return wm ? wm->module : 0;
}