aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/x86/float_dsp_init.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-04-30 18:31:25 +0200
committerDiego Biurrun <diego@biurrun.de>2013-05-04 22:48:05 +0200
commit1fda184a85178cfd7b98d9e308d18e1ded76a511 (patch)
treed1b78c0123ad08511b03f7108f3d7bbb8bd4d71a /libavutil/x86/float_dsp_init.c
parent20c86571ccc71412781d4a4813e4693e0c42aec6 (diff)
downloadffmpeg-1fda184a85178cfd7b98d9e308d18e1ded76a511.tar.gz
avutil: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavutil/x86/float_dsp_init.c')
-rw-r--r--libavutil/x86/float_dsp_init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/x86/float_dsp_init.c b/libavutil/x86/float_dsp_init.c
index 34863013cc..03925da111 100644
--- a/libavutil/x86/float_dsp_init.c
+++ b/libavutil/x86/float_dsp_init.c
@@ -18,6 +18,7 @@
#include "config.h"
+#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/float_dsp.h"
#include "cpu.h"
@@ -121,7 +122,7 @@ static void vector_fmul_window_sse(float *dst, const float *src0,
}
#endif /* HAVE_6REGS && HAVE_INLINE_ASM */
-void ff_float_dsp_init_x86(AVFloatDSPContext *fdsp)
+av_cold void ff_float_dsp_init_x86(AVFloatDSPContext *fdsp)
{
int mm_flags = av_get_cpu_flags();