Mercurial > mplayer.hg
comparison liba52/liba52_changes.diff @ 23873:49a433e2e78f
cosmetics: misc typo fixes
author | diego |
---|---|
date | Sat, 28 Jul 2007 14:28:38 +0000 |
parents | 212cf6625a47 |
children | a7b716b53e9f |
comparison
equal
deleted
inserted
replaced
23872:4d936284a5ec | 23873:49a433e2e78f |
---|---|
94 +#undef ALT_BITSTREAM_READER | 94 +#undef ALT_BITSTREAM_READER |
95 +#else | 95 +#else |
96 +// alternative (faster) bitstram reader (reades upto 3 bytes over the end of the input) | 96 +// alternative (faster) bitstram reader (reades upto 3 bytes over the end of the input) |
97 +#define ALT_BITSTREAM_READER | 97 +#define ALT_BITSTREAM_READER |
98 + | 98 + |
99 +/* used to avoid missaligned exceptions on some archs (alpha, ...) */ | 99 +/* used to avoid misaligned exceptions on some archs (alpha, ...) */ |
100 +#if defined (ARCH_X86) || defined(ARCH_ARMV4L) | 100 +#if defined (ARCH_X86) || defined(ARCH_ARMV4L) |
101 +# define unaligned32(a) (*(uint32_t*)(a)) | 101 +# define unaligned32(a) (*(uint32_t*)(a)) |
102 +#else | 102 +#else |
103 +# ifdef __GNUC__ | 103 +# ifdef __GNUC__ |
104 +static always_inline uint32_t unaligned32(const void *v) { | 104 +static always_inline uint32_t unaligned32(const void *v) { |