mirror of
https://github.com/mpv-player/mpv
synced 2025-03-30 07:18:17 +00:00
fix for alignment problem on older ARM cores
patch by Siarhei Siamashka, siarhei.siamashka gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27470 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
4275dadf52
commit
2e3a315796
@ -43,7 +43,7 @@
|
||||
#define ALT_BITSTREAM_READER
|
||||
|
||||
/* used to avoid misaligned exceptions on some archs (alpha, ...) */
|
||||
#if defined (ARCH_X86) || defined(ARCH_ARMV4L)
|
||||
#if defined (ARCH_X86) || defined(HAVE_ARMV6)
|
||||
# define unaligned32(a) (*(uint32_t*)(a))
|
||||
#else
|
||||
# ifdef __GNUC__
|
||||
|
@ -97,7 +97,7 @@
|
||||
+#define ALT_BITSTREAM_READER
|
||||
+
|
||||
+/* used to avoid misaligned exceptions on some archs (alpha, ...) */
|
||||
+#if defined (ARCH_X86) || defined(ARCH_ARMV4L)
|
||||
+#if defined (ARCH_X86) || defined(HAVE_ARMV6)
|
||||
+# define unaligned32(a) (*(uint32_t*)(a))
|
||||
+#else
|
||||
+# ifdef __GNUC__
|
||||
|
Loading…
Reference in New Issue
Block a user