From 6fee1b90ce3bf4fbdfde7016e0890057c9000487 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 1 Feb 2013 10:31:59 +0100 Subject: avcodec: Add av_cold attributes to init functions missing them --- libavcodec/proresdsp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libavcodec/proresdsp.c') diff --git a/libavcodec/proresdsp.c b/libavcodec/proresdsp.c index 6d45def203..1c0f391576 100644 --- a/libavcodec/proresdsp.c +++ b/libavcodec/proresdsp.c @@ -20,11 +20,12 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/attributes.h" +#include "libavutil/common.h" #include "dct.h" #include "dsputil.h" #include "proresdsp.h" #include "simple_idct.h" -#include "libavutil/common.h" #define BIAS (1 << (PRORES_BITS_PER_SAMPLE - 1)) ///< bias value for converting signed pixels into unsigned ones #define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) ///< minimum value for clipping resulting pixels @@ -71,7 +72,7 @@ static void prores_fdct_c(const uint16_t *src, int linesize, int16_t *block) } #endif -void ff_proresdsp_init(ProresDSPContext *dsp) +av_cold void ff_proresdsp_init(ProresDSPContext *dsp) { #if CONFIG_PRORES_DECODER dsp->idct_put = prores_idct_put_c; -- cgit v1.2.3