[FFmpeg-devel] [PATCH 2/3] lavu: LOCAL_ALIGNED is for arrays
Christophe Gisquet
christophe.gisquet at gmail.com
Sun Mar 15 08:48:18 CET 2015
Force an additional parameter then.
---
libavutil/internal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 9ba2ea0..8081fdb 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -107,9 +107,9 @@
t (*v) o = la_##v
#if HAVE_LOCAL_ALIGNED
-# define LOCAL_ALIGNED(a, t, v, ...) E1(LOCAL_ALIGNED_D(a, t, v, __VA_ARGS__,,))
+# define LOCAL_ALIGNED(a, t, v, s, ...) E1(LOCAL_ALIGNED_D(a, t, v, s, __VA_ARGS__))
#else
-# define LOCAL_ALIGNED(a, t, v, ...) E1(LOCAL_ALIGNED_A(a, t, v, __VA_ARGS__,,))
+# define LOCAL_ALIGNED(a, t, v, s, ...) E1(LOCAL_ALIGNED_A(a, t, v, s, __VA_ARGS__))
#endif
#define FF_ALLOC_OR_GOTO(ctx, p, size, label)\
--
1.9.2.msysgit.0
More information about the ffmpeg-devel
mailing list