Apply 'cold' attribute to init/uninit functions in libavcodec

Originally committed as revision 12525 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Zuxy Meng
2008-03-21 03:11:20 +00:00
parent 77ab59eb7f
commit 98a6fff98c
145 changed files with 296 additions and 288 deletions
+8
View File
@@ -73,6 +73,14 @@
#endif
#endif
#ifndef av_cold
#if defined(__GNUC__) && (__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ > 2)
# define av_cold __attribute__((cold))
#else
# define av_cold
#endif
#endif
#ifdef HAVE_AV_CONFIG_H
# include "internal.h"
#endif /* HAVE_AV_CONFIG_H */