[FFmpeg-cvslog] r17105 - trunk/libavutil/common.h

michael subversion
Mon Feb 9 22:47:58 CET 2009


Author: michael
Date: Mon Feb  9 22:47:57 2009
New Revision: 17105

Log:
av_flatten to make the similarly named attribute available.

Modified:
   trunk/libavutil/common.h

Modified: trunk/libavutil/common.h
==============================================================================
--- trunk/libavutil/common.h	Mon Feb  9 22:47:05 2009	(r17104)
+++ trunk/libavutil/common.h	Mon Feb  9 22:47:57 2009	(r17105)
@@ -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))




More information about the ffmpeg-cvslog mailing list