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/h264dsp.c | |
parent | 72e228b274a98af1aba9588415d0cd87fde44663 (diff) | |
download | ffmpeg-6fee1b90ce3bf4fbdfde7016e0890057c9000487.tar.gz |
avcodec: Add av_cold attributes to init functions missing them
Diffstat (limited to 'libavcodec/h264dsp.c')
-rw-r--r-- | libavcodec/h264dsp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/h264dsp.c b/libavcodec/h264dsp.c index 6ba465bced..3ca6abefda 100644 --- a/libavcodec/h264dsp.c +++ b/libavcodec/h264dsp.c @@ -26,6 +26,8 @@ */ #include <stdint.h> + +#include "libavutil/attributes.h" #include "avcodec.h" #include "h264dsp.h" #include "h264idct.h" @@ -51,7 +53,8 @@ #include "h264addpx_template.c" #undef BIT_DEPTH -void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_format_idc) +av_cold void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, + const int chroma_format_idc) { #undef FUNC #define FUNC(a, depth) a ## _ ## depth ## _c |