comparison libmpeg2/libmpeg-0.4.1.diff @ 26043:ad048f993f66

#define ATTRIBUTE_ALIGNED_MAX in config.h instead of hardcoding it.
author diego
date Sat, 23 Feb 2008 13:13:28 +0000
parents dfdf201e62cc
children 7a541b991b85
comparison
equal deleted inserted replaced
26042:bcfb485a8ade 26043:ad048f993f66
1 --- include/attributes.h 2006-06-16 20:12:26.000000000 +0200
2 +++ libmpeg2/attributes.h 2006-06-16 20:12:50.000000000 +0200
3 @@ -25,7 +29,7 @@
4 #ifdef ATTRIBUTE_ALIGNED_MAX
5 #define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((ATTRIBUTE_ALIGNED_MAX < align) ? ATTRIBUTE_ALIGNED_MAX : align)))
6 #else
7 -#define ATTR_ALIGN(align)
8 +#define ATTR_ALIGN(align) __attribute__ ((__aligned__ ((16 < align) ? 16 : align)))
9 #endif
10
11 #ifdef HAVE_BUILTIN_EXPECT
12 --- libmpeg2/cpu_accel.c 2006-06-16 20:12:26.000000000 +0200 1 --- libmpeg2/cpu_accel.c 2006-06-16 20:12:26.000000000 +0200
13 +++ libmpeg2/cpu_accel.c 2006-06-16 20:12:50.000000000 +0200 2 +++ libmpeg2/cpu_accel.c 2006-06-16 20:12:50.000000000 +0200
14 @@ -22,6 +26,7 @@ 3 @@ -22,6 +26,7 @@
15 */ 4 */
16 5