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/h264dsp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libavcodec/h264dsp.c') 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 + +#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 -- cgit v1.2.3