aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2006-12-08 13:25:37 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-12-08 13:25:37 +0000
commit4027ed1d064ead59b6924ced15e8250a26f3984d (patch)
tree4827ce392923300e9816b260359f00fa1e3267e4
parenta4b940198aa20297afdc15b8e3fa24606f0dd6e3 (diff)
downloadffmpeg-4027ed1d064ead59b6924ced15e8250a26f3984d.tar.gz
fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsjö, martin at martin st
Originally committed as revision 7261 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/bitstream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/bitstream.h b/libavcodec/bitstream.h
index 22ec01069f..29e0f441e2 100644
--- a/libavcodec/bitstream.h
+++ b/libavcodec/bitstream.h
@@ -187,12 +187,12 @@ static inline uint##x##_t unaligned##x(const void *v) { \
}
# elif defined(__DECC)
# define unaligned(x) \
-static inline uint##x##_t unaligned##x##(const void *v) { \
+static inline uint##x##_t unaligned##x(const void *v) { \
return *(const __unaligned uint##x##_t *) v; \
}
# else
# define unaligned(x) \
-static inline uint##x##_t unaligned##x##(const void *v) { \
+static inline uint##x##_t unaligned##x(const void *v) { \
return *(const uint##x##_t *) v; \
}
# endif