[MPlayer-cvslog] r27470 - in trunk/liba52: bitstream.h liba52_changes.diff

diego subversion at mplayerhq.hu
Mon Aug 18 00:32:30 CEST 2008


Author: diego
Date: Mon Aug 18 00:32:30 2008
New Revision: 27470

Log:
fix for alignment problem on older ARM cores
patch by Siarhei Siamashka, siarhei.siamashka gmail com


Modified:
   trunk/liba52/bitstream.h
   trunk/liba52/liba52_changes.diff

Modified: trunk/liba52/bitstream.h
==============================================================================
--- trunk/liba52/bitstream.h	(original)
+++ trunk/liba52/bitstream.h	Mon Aug 18 00:32:30 2008
@@ -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__

Modified: trunk/liba52/liba52_changes.diff
==============================================================================
--- trunk/liba52/liba52_changes.diff	(original)
+++ trunk/liba52/liba52_changes.diff	Mon Aug 18 00:32:30 2008
@@ -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__



More information about the MPlayer-cvslog mailing list