diff options
author | James Almer <jamrial@gmail.com> | 2014-04-23 23:53:36 -0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-08-03 10:56:52 +0200 |
commit | 63ac8e2d93080b74f6be32c7c3c1a1e44aacf34e (patch) | |
tree | bc8e374142a349129aba7da6fae274778b5f0202 /libavutil | |
parent | 3c504bc3599f00bfc5923adc114beef34bce11d0 (diff) | |
download | ffmpeg-63ac8e2d93080b74f6be32c7c3c1a1e44aacf34e.tar.gz |
lavu: add LOCAL_ALIGNED_32
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/internal.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/internal.h b/libavutil/internal.h index b9be333b47..d96762c75d 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -111,6 +111,12 @@ # define LOCAL_ALIGNED_16(t, v, ...) LOCAL_ALIGNED(16, t, v, __VA_ARGS__) #endif +#if HAVE_LOCAL_ALIGNED_32 +# define LOCAL_ALIGNED_32(t, v, ...) E1(LOCAL_ALIGNED_D(32, t, v, __VA_ARGS__,,)) +#else +# define LOCAL_ALIGNED_32(t, v, ...) LOCAL_ALIGNED(32, t, v, __VA_ARGS__) +#endif + #define FF_ALLOC_OR_GOTO(ctx, p, size, label)\ {\ p = av_malloc(size);\ |