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

Arpi arpi at thot.banki.hu
Sat Jan 18 18:07:02 CET 2003


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

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-users mailing list