diff libswscale/ppc/yuv2rgb_altivec.c @ 30343:4d50825554ee

Move array specifiers outside DECLARE_ALIGNED() invocations
author mru
date Fri, 22 Jan 2010 03:26:30 +0000
parents 75dd81db0184
children 140bde72c97f
line wrap: on
line diff
--- a/libswscale/ppc/yuv2rgb_altivec.c	Thu Jan 21 11:16:03 2010 +0000
+++ b/libswscale/ppc/yuv2rgb_altivec.c	Fri Jan 22 03:26:30 2010 +0000
@@ -753,7 +753,7 @@
 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 @@
 
     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;