[FFmpeg-cvslog] r21523 - trunk/libavutil/internal.h

mru subversion
Fri Jan 29 04:26:15 CET 2010


Author: mru
Date: Fri Jan 29 04:26:14 2010
New Revision: 21523

Log:
Define av_alias if supported by compiler

Modified:
   trunk/libavutil/internal.h

Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h	Fri Jan 29 04:26:12 2010	(r21522)
+++ trunk/libavutil/internal.h	Fri Jan 29 04:26:14 2010	(r21523)
@@ -55,6 +55,14 @@
 #endif
 #endif
 
+#ifndef av_alias
+#if HAVE_ATTRIBUTE_MAY_ALIAS
+#   define av_alias __attribute__((may_alias))
+#else
+#   define av_alias
+#endif
+#endif
+
 #ifndef INT16_MIN
 #define INT16_MIN       (-0x7fff - 1)
 #endif



More information about the ffmpeg-cvslog mailing list