From 01804c132ccfdfb264cf7b583e60eecf86316a8f Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 5 May 2003 01:22:45 +0000 Subject: 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 . git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10068 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/open.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmpdemux') diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 63c80fc999..12d35b20df 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -743,8 +743,8 @@ read_next: 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. -- cgit v1.2.3