yadif: specify array size outside DECLARE_ALIGNED
authorJanne Grunau <janne-libav@jannau.net>
Thu, 9 Feb 2012 19:27:12 +0000 (20:27 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Thu, 9 Feb 2012 20:28:37 +0000 (21:28 +0100)
libavfilter/x86/yadif_template.c

index e77de61..ffcc39e 100644 (file)
@@ -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\