[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.79,1.80

Diego Biurrun CVS diego at mplayerhq.hu
Mon May 5 03:22:49 CEST 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv31947/libmpdemux

Modified Files:
	open.c 
Log Message:
this is a important patch for hpux 11.00, because it avoid the
SIGBUS Signal Error if playing video direct from DVD-Rom.
Patch by Martin Gansser <mgansser at ngi.de>.


Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- open.c	10 Apr 2003 10:59:12 -0000	1.79
+++ open.c	5 May 2003 01:22:45 -0000	1.80
@@ -743,8 +743,8 @@
 
 	    if(d->angle_seek){
 		int i,skip=0;
-#if defined(__GNUC__) && defined(__sparc__)
-		// workaround for a bug in the sparc version of gcc 2.95.X ... 3.2,
+#if defined(__GNUC__) && ( defined(__sparc__) || defined(hpux) )
+		// workaround for a bug in the sparc/hpux version of gcc 2.95.X ... 3.2,
 		// it generates incorrect code for unaligned access to a packed
 		// structure member, resulting in an mplayer crash with a SIGBUS
 		// signal.



More information about the MPlayer-cvslog mailing list