1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter: add av_cold where it is missing

This commit is contained in:
Paul B Mahol 2019-10-03 12:09:07 +02:00
parent 8ca89e52df
commit 22f3b6286e
8 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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};

View File

@ -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;