Commit 0fd48fac authored by Zuxy Meng's avatar Zuxy Meng

'malloc' attribute isn't supported in old gcc.

Originally committed as revision 12500 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent cca6d953
......@@ -42,7 +42,7 @@
#define DECLARE_ASM_CONST(n,t,v) static const t v
#endif
#ifdef __GNUC__
#if defined(__GNUC__) && (__GNU__ > 3 || __GNU__ == 3 && __GNU_MINOR__ > 0)
#define av_malloc_attrib __attribute__((__malloc__))
#else
#define av_malloc_attrib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment