summaryrefslogtreecommitdiff
path: root/libavutil/float_dsp.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-05 12:53:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-05 12:53:50 +0200
commit3c200aa6930dfafdc4abacc49084503fa09dbbf8 (patch)
treee06ead278ba9c14087718374be6be0dab5fb3285 /libavutil/float_dsp.c
parente7f8493fd8c9f1d0f7618dc068b5cb38e0395574 (diff)
parent1fda184a85178cfd7b98d9e308d18e1ded76a511 (diff)
downloadffmpeg-3c200aa6930dfafdc4abacc49084503fa09dbbf8.tar.gz
Merge commit '1fda184a85178cfd7b98d9e308d18e1ded76a511'
* commit '1fda184a85178cfd7b98d9e308d18e1ded76a511': avutil: Add av_cold attributes to init functions missing them Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/float_dsp.c')
-rw-r--r--libavutil/float_dsp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavutil/float_dsp.c b/libavutil/float_dsp.c
index 76413138ce..64bd2e6437 100644
--- a/libavutil/float_dsp.c
+++ b/libavutil/float_dsp.c
@@ -20,7 +20,7 @@
*/
#include "config.h"
-
+#include "libavutil/attributes.h"
#include "float_dsp.h"
static void vector_fmul_c(float *dst, const float *src0, const float *src1,
@@ -115,7 +115,7 @@ float avpriv_scalarproduct_float_c(const float *v1, const float *v2, int len)
return p;
}
-void avpriv_float_dsp_init(AVFloatDSPContext *fdsp, int bit_exact)
+av_cold void avpriv_float_dsp_init(AVFloatDSPContext *fdsp, int bit_exact)
{
fdsp->vector_fmul = vector_fmul_c;
fdsp->vector_fmac_scalar = vector_fmac_scalar_c;