changeset 10313:b479b224d435

arm support by armin.gerritsen@philips.com (also seen a patch like this on openzaurus' mplayer port)
author alex
date Fri, 20 Jun 2003 13:10:42 +0000
parents b71452194fff
children 87801484302e
files liba52/bitstream.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/liba52/bitstream.h	Thu Jun 19 21:28:56 2003 +0000
+++ b/liba52/bitstream.h	Fri Jun 20 13:10:42 2003 +0000
@@ -32,7 +32,7 @@
 #define ALT_BITSTREAM_READER
 
 /* used to avoid missaligned exceptions on some archs (alpha, ...) */
-#ifdef ARCH_X86
+#if defined (ARCH_X86) || defined(ARCH_ARMV4L)
 #    define unaligned32(a) (*(uint32_t*)(a))
 #else
 #    ifdef __GNUC__