diff --git a/libavfilter/af_flanger.c b/libavfilter/af_flanger.c index b7497a12ed..33c8245ea5 100644 --- a/libavfilter/af_flanger.c +++ b/libavfilter/af_flanger.c @@ -72,7 +72,7 @@ static const AVOption flanger_options[] = { AVFILTER_DEFINE_CLASS(flanger); -static int init(AVFilterContext *ctx) +static av_cold int init(AVFilterContext *ctx) { FlangerContext *s = ctx->priv; diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c index 5a4eca7755..11406786ee 100644 --- a/libavfilter/af_surround.c +++ b/libavfilter/af_surround.c @@ -1372,7 +1372,7 @@ static void filter_5_1_back(AVFilterContext *ctx) } } -static int init(AVFilterContext *ctx) +static av_cold int init(AVFilterContext *ctx) { AudioSurroundContext *s = ctx->priv; float overlap; diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c index f414209ea2..04954c1be4 100644 --- a/libavfilter/vf_colorspace.c +++ b/libavfilter/vf_colorspace.c @@ -732,7 +732,7 @@ static int create_filtergraph(AVFilterContext *ctx, return 0; } -static int init(AVFilterContext *ctx) +static av_cold int init(AVFilterContext *ctx) { ColorSpaceContext *s = ctx->priv; diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index 814575a36c..376c5e850f 100644 --- a/libavfilter/vf_delogo.c +++ b/libavfilter/vf_delogo.c @@ -221,7 +221,7 @@ static const AVOption delogo_options[]= { }; AVFILTER_DEFINE_CLASS(delogo); -static void uninit(AVFilterContext *ctx) +static av_cold void uninit(AVFilterContext *ctx) { DelogoContext *s = ctx->priv; diff --git a/libavfilter/vf_eq.c b/libavfilter/vf_eq.c index 0f9d129255..914a07f176 100644 --- a/libavfilter/vf_eq.c +++ b/libavfilter/vf_eq.c @@ -207,7 +207,7 @@ static int initialize(AVFilterContext *ctx) return 0; } -static void uninit(AVFilterContext *ctx) +static av_cold void uninit(AVFilterContext *ctx) { EQContext *eq = ctx->priv; diff --git a/libavfilter/vf_tpad.c b/libavfilter/vf_tpad.c index 86e063090b..0cd65d3e7b 100644 --- a/libavfilter/vf_tpad.c +++ b/libavfilter/vf_tpad.c @@ -181,7 +181,7 @@ static int config_input(AVFilterLink *inlink) return 0; } -static void uninit(AVFilterContext *ctx) +static av_cold void uninit(AVFilterContext *ctx) { TPadContext *s = ctx->priv; diff --git a/libavfilter/vf_xbr.c b/libavfilter/vf_xbr.c index 87810c88f1..a381be4553 100644 --- a/libavfilter/vf_xbr.c +++ b/libavfilter/vf_xbr.c @@ -380,7 +380,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) return ff_filter_frame(outlink, out); } -static int init(AVFilterContext *ctx) +static av_cold int init(AVFilterContext *ctx) { XBRContext *s = ctx->priv; static const xbrfunc_t xbrfuncs[] = {xbr2x, xbr3x, xbr4x}; diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index 9b0d08625f..db2dd17756 100644 --- a/libavfilter/vf_zscale.c +++ b/libavfilter/vf_zscale.c @@ -702,7 +702,7 @@ fail: return ff_filter_frame(outlink, out); } -static void uninit(AVFilterContext *ctx) +static av_cold void uninit(AVFilterContext *ctx) { ZScaleContext *s = ctx->priv;