diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-22 12:29:28 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-07-23 01:30:05 +0200 |
commit | 5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a (patch) | |
tree | fde246d184c517279b9ef3287ae47329701b3780 /libswscale/x86/yuv2rgb.c | |
parent | 16d2a1a51c1dbdd69ee47b19c8ab66b905b7c5ce (diff) | |
download | ffmpeg-5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a.tar.gz |
swscale: Mark all init functions as av_cold
Diffstat (limited to 'libswscale/x86/yuv2rgb.c')
-rw-r--r-- | libswscale/x86/yuv2rgb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/x86/yuv2rgb.c b/libswscale/x86/yuv2rgb.c index f534e0e6bd..b4bcbf53c2 100644 --- a/libswscale/x86/yuv2rgb.c +++ b/libswscale/x86/yuv2rgb.c @@ -33,6 +33,7 @@ #include "libswscale/rgb2rgb.h" #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" +#include "libavutil/attributes.h" #include "libavutil/x86_cpu.h" #include "libavutil/cpu.h" @@ -68,7 +69,7 @@ DECLARE_ASM_CONST(8, uint64_t, pb_07) = 0x0707070707070707ULL; #endif /* HAVE_INLINE_ASM */ -SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c) +av_cold SwsFunc ff_yuv2rgb_init_mmx(SwsContext *c) { #if HAVE_INLINE_ASM int cpu_flags = av_get_cpu_flags(); |