[FFmpeg-cvslog] r22770 - trunk/libavutil/attributes.h

michael subversion
Fri Apr 2 03:03:28 CEST 2010


Author: michael
Date: Fri Apr  2 03:03:27 2010
New Revision: 22770

Log:
av_builtin_constant_p()

Modified:
   trunk/libavutil/attributes.h

Modified: trunk/libavutil/attributes.h
==============================================================================
--- trunk/libavutil/attributes.h	Fri Apr  2 00:34:22 2010	(r22769)
+++ trunk/libavutil/attributes.h	Fri Apr  2 03:03:27 2010	(r22770)
@@ -104,4 +104,10 @@
 #endif
 #endif
 
+#ifdef __GNUC__
+#    define av_builtin_constant_p __builtin_constant_p
+#else
+#    define av_builtin_constant_p(x) 0
+#endif
+
 #endif /* AVUTIL_ATTRIBUTES_H */



More information about the ffmpeg-cvslog mailing list