Mercurial > libavcodec.hg
changeset 4288:892dba2cf52a libavcodec
fix bug when __GNUC__ isn't defined and when compiling for a non-x86 architecture, patch by Martin Storsj, martin at martin st
author | bcoudurier |
---|---|
date | Fri, 08 Dec 2006 13:25:37 +0000 |
parents | 9900add82642 |
children | b2a291ea653f |
files | bitstream.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/bitstream.h Fri Dec 08 05:28:00 2006 +0000 +++ b/bitstream.h Fri Dec 08 13:25:37 2006 +0000 @@ -187,12 +187,12 @@ } # 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