MIPS doesn't like unaligned accesses
authorMåns Rullgård <mans@mansr.com>
Mon, 12 Jun 2006 21:34:43 +0000 (21:34 +0000)
committerMåns Rullgård <mans@mansr.com>
Mon, 12 Jun 2006 21:34:43 +0000 (21:34 +0000)
Originally committed as revision 5469 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/bitstream.h

index 195bcc7..265e934 100644 (file)
@@ -135,7 +135,7 @@ typedef struct RL_VLC_ELEM {
     uint8_t run;
 } RL_VLC_ELEM;
 
-#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L)
+#if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS)
 #define UNALIGNED_STORES_ARE_BAD
 #endif