diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-01 10:31:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-05-04 21:09:45 +0200 |
commit | 6fee1b90ce3bf4fbdfde7016e0890057c9000487 (patch) | |
tree | c1b37ab53c8caab6b47702ec4451038c5d2882e4 /libavcodec/proresdsp.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/proresdsp.c')
-rw-r--r-- | libavcodec/proresdsp.c | 5 |
1 files changed, 3 insertions, 2 deletions
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; |