[FFmpeg-cvslog] yadif: specify array size outside DECLARE_ALIGNED

Janne Grunau git at videolan.org
Fri Feb 10 01:47:57 CET 2012


ffmpeg | branch: master | Janne Grunau <janne-libav at jannau.net> | Thu Feb  9 20:27:12 2012 +0100| [456d3e4fb5135c1a5e321cba7c538f9e7a6bdd36] | committer: Janne Grunau

yadif: specify array size outside DECLARE_ALIGNED

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=456d3e4fb5135c1a5e321cba7c538f9e7a6bdd36
---

 libavfilter/x86/yadif_template.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavfilter/x86/yadif_template.c b/libavfilter/x86/yadif_template.c
index e77de61..ffcc39e 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\



More information about the ffmpeg-cvslog mailing list