1
0
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:
diego 2008-08-17 22:32:30 +00:00
parent 4275dadf52
commit 2e3a315796
2 changed files with 2 additions and 2 deletions

View File

@ -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__

View File

@ -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__