From 4a88852623168077d77a073f7ce61047d12becbf Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Fri, 22 Jan 2010 03:26:30 +0000 Subject: Move array specifiers outside DECLARE_ALIGNED() invocations Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/ppc/yuv2rgb_altivec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libswscale/ppc/yuv2rgb_altivec.c') diff --git a/libswscale/ppc/yuv2rgb_altivec.c b/libswscale/ppc/yuv2rgb_altivec.c index b549a450a5..be26647498 100644 --- a/libswscale/ppc/yuv2rgb_altivec.c +++ b/libswscale/ppc/yuv2rgb_altivec.c @@ -753,7 +753,7 @@ SwsFunc ff_yuv2rgb_init_altivec(SwsContext *c) void ff_yuv2rgb_init_tables_altivec(SwsContext *c, const int inv_table[4], int brightness, int contrast, int saturation) { union { - DECLARE_ALIGNED(16, signed short, tmp[8]); + DECLARE_ALIGNED(16, signed short, tmp)[8]; vector signed short vec; } buf; @@ -791,7 +791,7 @@ ff_yuv2packedX_altivec(SwsContext *c, vector signed short RND = vec_splat_s16(1<<3); vector unsigned short SCL = vec_splat_u16(4); - DECLARE_ALIGNED(16, unsigned long, scratch[16]); + DECLARE_ALIGNED(16, unsigned long, scratch)[16]; vector signed short *YCoeffs, *CCoeffs; -- cgit v1.2.3