[Mplayer-cvslog] CVS: main/loader module.c,1.6,1.7

Felix Buenemann atmosfear at users.sourceforge.net
Sun Apr 21 19:53:17 CEST 2002


On Sunday 21 April 2002 18:11, Alex Beregszaszi wrote:
> Update of /cvsroot/mplayer/main/loader
> In directory mail:/var/tmp.root/cvs-serv6047
>
> Modified Files:
> 	module.c
> Log Message:
> ugly hack for morgands

could you comment what it does?

>
> 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;
>  }
>
> _______________________________________________
> Mplayer-cvslog mailing list
> Mplayer-cvslog at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-cvslog

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-cvslog mailing list