mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00: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:
parent
4e5d0d5825
commit
3d21da3186
@ -21,8 +21,16 @@
|
|||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* 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)
|
// alternative (faster) bitstram reader (reades upto 3 bytes over the end of the input)
|
||||||
#define ALT_BITSTREAM_READER
|
#define ALT_BITSTREAM_READER
|
||||||
|
#endif
|
||||||
|
|
||||||
/* (stolen from the kernel) */
|
/* (stolen from the kernel) */
|
||||||
#ifdef WORDS_BIGENDIAN
|
#ifdef WORDS_BIGENDIAN
|
||||||
|
Loading…
Reference in New Issue
Block a user