0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

The ALT_BITSTREAM_READER code does not work on SPARC, because the code accesses

32-bit works from unaligned addresses.  For now, disable ALT_BITSTREAM_READER
on SPARC.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7256 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
jkeil 2002-09-03 17:15:08 +00:00
parent 4e5d0d5825
commit 3d21da3186

View File

@ -21,8 +21,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
#ifdef __sparc__
/*
* the alt bitstream reader performs unaligned memory accesses; that doesn't work
* on sparc. For now, disable ALT_BITSTREAM_READER.
*/
#undef ALT_BITSTREAM_READER
#else
// alternative (faster) bitstram reader (reades upto 3 bytes over the end of the input)
#define ALT_BITSTREAM_READER
#endif
/* (stolen from the kernel) */
#ifdef WORDS_BIGENDIAN