Blackfin is a strictly aligned processor.
authorMarc Hoffman <mmh@pleasantst.com>
Sat, 21 Apr 2007 23:05:30 +0000 (23:05 +0000)
committerAurelien Jacobs <aurel@gnuage.org>
Sat, 21 Apr 2007 23:05:30 +0000 (23:05 +0000)
Patch by Marc Hoffman  mmh _at_ pleasantst.com
Subject: [Ffmpeg-devel] PATCH Blackfin UNALIGNED_STORES_ARE_BAD in bitstream.h
Date: Tue, 17 Apr 2007 06:12:02 -0400

Originally committed as revision 8777 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bitstream.h

index e584774..2ef76ec 100644 (file)
@@ -166,7 +166,7 @@ typedef struct RL_VLC_ELEM {
     uint8_t run;
 } RL_VLC_ELEM;
 
     uint8_t run;
 } RL_VLC_ELEM;
 
-#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS)
+#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS) || defined(ARCH_BFIN)
 #define UNALIGNED_STORES_ARE_BAD
 #endif
 
 #define UNALIGNED_STORES_ARE_BAD
 #endif