diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-07-22 14:29:28 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-07-23 03:30:05 +0400 |
commit | 5a6e3c039c0eefaf5684c7e4e1687ccb13ae488a (patch) | |
tree | fde246d184c517279b9ef3287ae47329701b3780 /libswscale/x86/swscale.c | |
parent | 16d2a1a51c1dbdd69ee47b19c8ab66b905b7c5ce (diff) |
swscale: Mark all init functions as av_cold
Diffstat (limited to 'libswscale/x86/swscale.c')
-rw-r--r-- | libswscale/x86/swscale.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index b57b7a4c58..a0c18c79fc 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -22,6 +22,7 @@ #include "config.h" #include "libswscale/swscale.h" #include "libswscale/swscale_internal.h" +#include "libavutil/attributes.h" #include "libavutil/intreadwrite.h" #include "libavutil/x86_cpu.h" #include "libavutil/cpu.h" @@ -300,7 +301,7 @@ INPUT_FUNCS(sse2); INPUT_FUNCS(ssse3); INPUT_FUNCS(avx); -void ff_sws_init_swScale_mmx(SwsContext *c) +av_cold void ff_sws_init_swScale_mmx(SwsContext *c) { int cpu_flags = av_get_cpu_flags(); |