Mercurial > libavcodec.hg
comparison bitstream.h @ 3342:ff5bed27d7ca libavcodec
MIPS doesn't like unaligned accesses
| author | mru |
|---|---|
| date | Mon, 12 Jun 2006 21:34:43 +0000 |
| parents | cb356bfc7e22 |
| children | de0ed6497a13 |
comparison
equal
deleted
inserted
replaced
| 3341:bd7a496e44c9 | 3342:ff5bed27d7ca |
|---|---|
| 133 int16_t level; | 133 int16_t level; |
| 134 int8_t len; | 134 int8_t len; |
| 135 uint8_t run; | 135 uint8_t run; |
| 136 } RL_VLC_ELEM; | 136 } RL_VLC_ELEM; |
| 137 | 137 |
| 138 #if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) | 138 #if defined(ARCH_SPARC) || defined(ARCH_ARMV4L) || defined(ARCH_MIPS) |
| 139 #define UNALIGNED_STORES_ARE_BAD | 139 #define UNALIGNED_STORES_ARE_BAD |
| 140 #endif | 140 #endif |
| 141 | 141 |
| 142 /* used to avoid missaligned exceptions on some archs (alpha, ...) */ | 142 /* used to avoid missaligned exceptions on some archs (alpha, ...) */ |
| 143 #if defined(ARCH_X86) || defined(ARCH_X86_64) | 143 #if defined(ARCH_X86) || defined(ARCH_X86_64) |
