[FFmpeg-cvslog] msvc/icl: Use __declspec(noinline)

Alex Smith git at videolan.org
Fri Sep 20 16:08:58 CEST 2013


ffmpeg | branch: master | Alex Smith <alex.smith at warpsharp.info> | Thu Sep 19 17:33:23 2013 -0400| [33b88f2a4ae54d5397c45e39a5326289ebdc7747] | committer: Martin Storsjö

msvc/icl: Use __declspec(noinline)

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=33b88f2a4ae54d5397c45e39a5326289ebdc7747
---

 libavutil/attributes.h |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 850a73f..9f476c9 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -42,6 +42,8 @@
 
 #if AV_GCC_VERSION_AT_LEAST(3,1)
 #    define av_noinline __attribute__((noinline))
+#elif defined(_MSC_VER)
+#    define av_noinline __declspec(noinline)
 #else
 #    define av_noinline
 #endif



More information about the ffmpeg-cvslog mailing list