[MPlayer-users] ANNOUNCE: mplayerplug-in v0.30

Kevin DeKorte kdekorte at yahoo.com
Sat Jan 18 18:41:59 CET 2003


Arpi,

I really need to get a machine with gcc 2.9x on it...

It has been fixed in CVS

Thanks,

Kevin


On Saturday 18 January 2003 10:07, Arpi wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Hi,
>
> > Just a notice that mplayerplug-in v0.30 is out and is finally stable.
> >
> > As always it is available at:   http://mplayerplug-in.sourceforge.net/
>
> just tried CVS, and it doesn't compile with gc 2.9x again...
>
> here's the small patch to fix it:
> (you should test it with 2.9x, at least the releases, or maybe gcc 3.x also
> have a flag to restrict to k&r / ansi C instead of the new c99 standard)
>
>
> Index: mplayerplug-in.c
> ===================================================================
> RCS file: /cvsroot/mplayerplug-in/mplayerplug-in/Source/mplayerplug-in.c,v
> retrieving revision 1.19
> diff -u -r1.19 mplayerplug-in.c
> --- mplayerplug-in.c	18 Jan 2003 15:27:28 -0000	1.19
> +++ mplayerplug-in.c	18 Jan 2003 16:59:55 -0000
> @@ -550,6 +550,7 @@
>  	struct sigaction action;
>  	int shmid,shmid2;
>  	pid_t *shmPtr;
> +	PluginInstance* This;
>
>  	if (instance == NULL) {
>  		if (DEBUG) printf("Our instance is null!\n");
> @@ -557,7 +558,7 @@
>  	}
>  	printf("RED %i\n",instance);
>
> -        PluginInstance* This = (PluginInstance*)instance->pdata;
> +        This = (PluginInstance*)instance->pdata;
>
>  	if (This == NULL) {
>  		if (DEBUG) fprintf(This->logfp,"Our This is null!\n");
>
>
> A'rpi / Astral & ESP-team



More information about the MPlayer-users mailing list