[Mplayer-cvslog] CVS: main/loader module.c,1.6,1.7
Alex Beregszaszi
alex at mplayerhq.hu
Sun Apr 21 18:11:45 CEST 2002
Update of /cvsroot/mplayer/main/loader
In directory mail:/var/tmp.root/cvs-serv6047
Modified Files:
module.c
Log Message:
ugly hack for morgands
Index: module.c
===================================================================
RCS file: /cvsroot/mplayer/main/loader/module.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- module.c 11 Dec 2001 22:58:13 -0000 1.6
+++ module.c 21 Apr 2002 16:11:42 -0000 1.7
@@ -405,7 +405,14 @@
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;
}
More information about the MPlayer-cvslog
mailing list