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
1 changed files with 8 additions and 1 deletions

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;
}