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:
parent
8ca89e52df
commit
22f3b6286e
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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};
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user