aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/common.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-02-16 21:19:42 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-02-16 21:19:42 +0000
commit410bf2731d34744bd52b52964aade88e52a372be (patch)
tree01b0dc0ab358224a57ddaa95b215bafcf974893b /libavutil/common.h
parente28630fc705f361763cf6aeff909a49600ce25cd (diff)
downloadffmpeg-410bf2731d34744bd52b52964aade88e52a372be.tar.gz
av_noinline
Originally committed as revision 7992 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/common.h')
-rw-r--r--libavutil/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/common.h b/libavutil/common.h
index ff0f7ba886..057dce46a6 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -44,8 +44,10 @@
#ifndef av_always_inline
#if defined(__GNUC__) && (__GNUC__ > 3 || __GNUC__ == 3 && __GNUC_MINOR__ > 0)
# define av_always_inline __attribute__((always_inline)) inline
+# define av_noinline __attribute__((noinline))
#else
# define av_always_inline inline
+# define av_noinline
#endif
#endif