aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-06 12:40:43 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-06 12:40:43 +0000
commit4b9905d1dcd193b41d914de5947e8ae77fbfcdff (patch)
treeaf978946087dd5c85753c00ee10d8993248abfbe /libavutil
parent3de42635bdb4b807910c53cb416625f843f92ad5 (diff)
downloadffmpeg-4b9905d1dcd193b41d914de5947e8ae77fbfcdff.tar.gz
Move DECLARE_ALIGNED_{8,16} macros to mem.h
These macros naturally belong next to the generic DECLARE_ALIGNED macro. Originally committed as revision 22230 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/mem.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 75beffb39a..36a2cf1fc4 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -49,6 +49,8 @@
#define DECLARE_ASM_CONST(n,t,v) static const t v
#endif
+#define DECLARE_ALIGNED_16(t, v) DECLARE_ALIGNED(16, t, v)
+#define DECLARE_ALIGNED_8(t, v) DECLARE_ALIGNED(8, t, v)
#if AV_GCC_VERSION_AT_LEAST(3,1)
#define av_malloc_attrib __attribute__((__malloc__))