diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-22 03:26:30 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-22 03:26:30 +0000 |
commit | 4a88852623168077d77a073f7ce61047d12becbf (patch) | |
tree | 7be0121361d19e2a9613be8c7407d453504b5557 /libswscale/ppc/swscale_altivec_template.c | |
parent | 587d24ff252352144dfe60b73915e36e5a80502b (diff) | |
download | ffmpeg-4a88852623168077d77a073f7ce61047d12becbf.tar.gz |
Move array specifiers outside DECLARE_ALIGNED() invocations
Originally committed as revision 30385 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/ppc/swscale_altivec_template.c')
-rw-r--r-- | libswscale/ppc/swscale_altivec_template.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libswscale/ppc/swscale_altivec_template.c b/libswscale/ppc/swscale_altivec_template.c index 23da6b0178..a438e4cb37 100644 --- a/libswscale/ppc/swscale_altivec_template.c +++ b/libswscale/ppc/swscale_altivec_template.c @@ -93,7 +93,7 @@ yuv2yuvX_altivec_real(const int16_t *lumFilter, int16_t **lumSrc, int lumFilterS const vector signed int vini = {(1 << 18), (1 << 18), (1 << 18), (1 << 18)}; register int i, j; { - DECLARE_ALIGNED(16, int, val[dstW]); + DECLARE_ALIGNED(16, int, val)[dstW]; for (i = 0; i < (dstW -7); i+=4) { vec_st(vini, i << 2, val); @@ -141,8 +141,8 @@ yuv2yuvX_altivec_real(const int16_t *lumFilter, int16_t **lumSrc, int lumFilterS altivec_packIntArrayToCharArray(val, dest, dstW); } if (uDest != 0) { - DECLARE_ALIGNED(16, int, u[chrDstW]); - DECLARE_ALIGNED(16, int, v[chrDstW]); + DECLARE_ALIGNED(16, int, u)[chrDstW]; + DECLARE_ALIGNED(16, int, v)[chrDstW]; for (i = 0; i < (chrDstW -7); i+=4) { vec_st(vini, i << 2, u); @@ -215,7 +215,7 @@ static inline void hScale_altivec_real(int16_t *dst, int dstW, const int16_t *filterPos, int filterSize) { register int i; - DECLARE_ALIGNED(16, int, tempo[4]); + DECLARE_ALIGNED(16, int, tempo)[4]; if (filterSize % 4) { for (i=0; i<dstW; i++) { |