diff options
author | Måns Rullgård <mans@mansr.com> | 2010-01-22 03:25:11 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-01-22 03:25:11 +0000 |
commit | c67278098def4438fc587744f5df1c147bc95dc3 (patch) | |
tree | 032a9f82fd504566b8e7361d6ea6e80cbda18c0c /libavcodec/dsputil.h | |
parent | 27ce1be89ba765d4129a638f2dd673e1f6e17682 (diff) | |
download | ffmpeg-c67278098def4438fc587744f5df1c147bc95dc3.tar.gz |
Move array specifiers outside DECLARE_ALIGNED() invocations
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.h')
-rw-r--r-- | libavcodec/dsputil.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h index 65088c11ca..2d8d41af84 100644 --- a/libavcodec/dsputil.h +++ b/libavcodec/dsputil.h @@ -178,7 +178,7 @@ typedef struct ScanTable{ uint8_t raster_end[64]; #if ARCH_PPC /** Used by dct_quantize_altivec to find last-non-zero */ - DECLARE_ALIGNED(16, uint8_t, inverse[64]); + DECLARE_ALIGNED(16, uint8_t, inverse)[64]; #endif } ScanTable; @@ -656,8 +656,8 @@ void dsputil_init_ppc(DSPContext* c, AVCodecContext *avctx); void dsputil_init_sh4(DSPContext* c, AVCodecContext *avctx); void dsputil_init_vis(DSPContext* c, AVCodecContext *avctx); -#define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v) -#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v) +#define DECLARE_ALIGNED_16(t, v, ...) DECLARE_ALIGNED(16, t, v) +#define DECLARE_ALIGNED_8(t, v, ...) DECLARE_ALIGNED(8, t, v) #if HAVE_MMX @@ -749,11 +749,11 @@ typedef struct FFTContext { #endif #define COSTABLE(size) \ - COSTABLE_CONST DECLARE_ALIGNED_16(FFTSample, ff_cos_##size[size/2]) + COSTABLE_CONST DECLARE_ALIGNED_16(FFTSample, ff_cos_##size)[size/2] #define SINTABLE(size) \ - SINTABLE_CONST DECLARE_ALIGNED_16(FFTSample, ff_sin_##size[size/2]) + SINTABLE_CONST DECLARE_ALIGNED_16(FFTSample, ff_sin_##size)[size/2] #define SINETABLE(size) \ - SINETABLE_CONST DECLARE_ALIGNED_16(float, ff_sine_##size[size]) + SINETABLE_CONST DECLARE_ALIGNED_16(float, ff_sine_##size)[size] extern COSTABLE(16); extern COSTABLE(32); extern COSTABLE(64); |