diff options
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 |