mirror of
https://github.com/mpv-player/mpv
synced 2025-01-13 00:06:25 +01:00
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@ngi.de>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10068 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cac8247d31
commit
01804c132c
@ -21,10 +21,10 @@
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifdef __sparc__
|
||||
#if defined(__sparc__) || defined(hpux)
|
||||
/*
|
||||
* the alt bitstream reader performs unaligned memory accesses; that doesn't work
|
||||
* on sparc. For now, disable ALT_BITSTREAM_READER.
|
||||
* on sparc/hpux. For now, disable ALT_BITSTREAM_READER.
|
||||
*/
|
||||
#undef ALT_BITSTREAM_READER
|
||||
#else
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user