diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-01-09 14:06:32 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-01-09 15:09:07 +0100 |
commit | 4c642d8d98703faf52983243098f35865e15b312 (patch) | |
tree | ff97b154df43bf0e15c461a036b3b6557b26518e | |
parent | b0be1ae792ac8bbfb0fc7b9b9cb39eaf0feb489b (diff) | |
download | ffmpeg-4c642d8d98703faf52983243098f35865e15b312.tar.gz |
x86: hpeldsp: Add missing av_cold attribute to init function
-rw-r--r-- | libavcodec/x86/hpeldsp_init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/x86/hpeldsp_init.c b/libavcodec/x86/hpeldsp_init.c index 3bc5601e61..c4f555c367 100644 --- a/libavcodec/x86/hpeldsp_init.c +++ b/libavcodec/x86/hpeldsp_init.c @@ -22,6 +22,7 @@ * MMX optimization by Nick Kurshev <nickols_k@mail.ru> */ +#include "libavutil/attributes.h" #include "libavutil/cpu.h" #include "libavutil/x86/asm.h" #include "libavutil/x86/cpu.h" @@ -251,7 +252,7 @@ static void hpeldsp_init_sse2(HpelDSPContext *c, int flags, int cpu_flags) #endif /* HAVE_SSE2_EXTERNAL */ } -void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags) +av_cold void ff_hpeldsp_init_x86(HpelDSPContext *c, int flags) { int cpu_flags = av_get_cpu_flags(); |