Mercurial > mplayer.hg
changeset 13133:f283e0e499bf
allow alignment without ATTRIBUTE_ALIGNED_MAX been defined, it fixes sparc unaligned memory access
author | iive |
---|---|
date | Wed, 25 Aug 2004 13:09:56 +0000 |
parents | d1e1de316459 |
children | 2c3a4098f40c |
files | libmpeg2/attributes.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpeg2/attributes.h Wed Aug 25 09:49:43 2004 +0000 +++ b/libmpeg2/attributes.h Wed Aug 25 13:09:56 2004 +0000 @@ -25,7 +25,7 @@ #ifdef ATTRIBUTE_ALIGNED_MAX #define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align))) #else -#define ATTR_ALIGN(align) +#define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((16 < align) ? 16 : align))) #endif #ifdef HAVE_BUILTIN_EXPECT