projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5106698
)
av_flatten to make the similarly named attribute available.
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 9 Feb 2009 21:47:57 +0000
(21:47 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 9 Feb 2009 21:47:57 +0000
(21:47 +0000)
Originally committed as revision 17105 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/common.h
patch
|
blob
|
blame
|
history
diff --git
a/libavutil/common.h
b/libavutil/common.h
index
bbcca75
..
6887cf0
100644
(file)
--- a/
libavutil/common.h
+++ b/
libavutil/common.h
@@
-77,6
+77,14
@@
#endif
#endif
+#ifndef av_flatten
+#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 0)
+# define av_flatten __attribute__((flatten))
+#else
+# define av_flatten
+#endif
+#endif
+
#ifndef attribute_deprecated
#if AV_GCC_VERSION_AT_LEAST(3,1)
# define attribute_deprecated __attribute__((deprecated))