comparison loader/module.c @ 5768:c6a76d35f3b1

ugly hack for morgands
author alex
date Sun, 21 Apr 2002 16:11:42 +0000
parents 4dad31e655b6
children 523014df7d32
comparison
equal deleted inserted replaced
5767:97de70b5377f 5768:c6a76d35f3b1
403 } 403 }
404 } 404 }
405 405
406 if (!wm) 406 if (!wm)
407 printf("Win32 LoadLibrary failed to load: %s\n", checked); 407 printf("Win32 LoadLibrary failed to load: %s\n", checked);
408 408 else
409 {
410 extern char *win32_codec_name;
411 printf("Loaded %s to address %p\n", libname, wm->module);
412 /* XXX: FIXME, _VERY_ UGLY HACK */
413 if (!strcmp(libname, "m3jpegdec.ax"))
414 win32_codec_name = strdup("m3jpeg32.dll");
415 }
409 416
410 return wm ? wm->module : 0; 417 return wm ? wm->module : 0;
411 } 418 }
412 419
413 420