diff options
author | James Almer <jamrial@gmail.com> | 2014-04-23 23:53:36 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-04-25 06:12:51 +0200 |
commit | 25d5ea6d5a08820a40dd145d40ddfaecdb44837b (patch) | |
tree | 21d5d9854c74664b0aa13668206f9e60c834b908 /libavutil | |
parent | cebe06a0bf1989727ab2995a833ae6f8af1a7ac8 (diff) | |
download | ffmpeg-25d5ea6d5a08820a40dd145d40ddfaecdb44837b.tar.gz |
lavu: add LOCAL_ALIGNED_32
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 53f78e9d81..ea3c31e4fb 100644 --- a/libavutil/internal.h +++ b/libavutil/internal.h @@ -122,6 +122,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);\ |