projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
218e453
)
alloc_size attribute is new to gcc 4.3; don't use it with lesser versions
author
Måns Rullgård
<mans@mansr.com>
Thu, 5 Jun 2008 19:49:47 +0000
(19:49 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Thu, 5 Jun 2008 19:49:47 +0000
(19:49 +0000)
Originally committed as revision 13665 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavutil/mem.h
patch
|
blob
|
history
diff --git
a/libavutil/mem.h
b/libavutil/mem.h
index
5a405bf
..
84d647d
100644
(file)
--- a/
libavutil/mem.h
+++ b/
libavutil/mem.h
@@
-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)