diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 195bcc7a18369ca5f300752ad6df9c392f8d43c4..265e9347345c0d1d6e50ea5fc06a1016639d4fe4 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -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