[FFmpeg-cvslog] r13665 - trunk/libavutil/mem.h

mru subversion
Thu Jun 5 21:49:47 CEST 2008


Author: mru
Date: Thu Jun  5 21:49:47 2008
New Revision: 13665

Log:
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions


Modified:
   trunk/libavutil/mem.h

Modified: trunk/libavutil/mem.h
==============================================================================
--- trunk/libavutil/mem.h	(original)
+++ trunk/libavutil/mem.h	Thu Jun  5 21:49:47 2008
@@ -48,7 +48,7 @@
     #define av_malloc_attrib
 #endif
 
-#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 1)
+#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 2)
     #define av_alloc_size(n) __attribute__((alloc_size(n)))
 #else
     #define av_alloc_size(n)




More information about the ffmpeg-cvslog mailing list