From 456d3e4fb5135c1a5e321cba7c538f9e7a6bdd36 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 9 Feb 2012 20:27:12 +0100 Subject: [PATCH] yadif: specify array size outside DECLARE_ALIGNED --- libavfilter/x86/yadif_template.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c index e77de615cd..ffcc39eebc 100644 --- a/libavfilter/x86/yadif_template.c +++ b/libavfilter/x86/yadif_template.c @@ -107,10 +107,10 @@ void RENAME(ff_yadif_filter_line)(uint8_t *dst, uint8_t *prev, uint8_t *cur, uint8_t *next, int w, int prefs, int mrefs, int parity, int mode) { - DECLARE_ALIGNED(16, uint8_t, tmp0[16]); - DECLARE_ALIGNED(16, uint8_t, tmp1[16]); - DECLARE_ALIGNED(16, uint8_t, tmp2[16]); - DECLARE_ALIGNED(16, uint8_t, tmp3[16]); + DECLARE_ALIGNED(16, uint8_t, tmp0)[16]; + DECLARE_ALIGNED(16, uint8_t, tmp1)[16]; + DECLARE_ALIGNED(16, uint8_t, tmp2)[16]; + DECLARE_ALIGNED(16, uint8_t, tmp3)[16]; int x; #define FILTER\