[Mplayer-cvslog] CVS: 0_90/libmpdemux open.c,1.69,1.70

Diego Biurrun CVS diego at mplayerhq.hu
Mon May 5 04:42:43 CEST 2003


Update of /cvsroot/mplayer/0_90/libmpdemux
In directory mail:/var/tmp.root/cvs-serv5925/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/0_90/libmpdemux/open.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- open.c	10 Mar 2003 16:01:12 -0000	1.69
+++ open.c	5 May 2003 02:42:41 -0000	1.70
@@ -775,8 +775,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