mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-19 14:00:43 +00:00
avfilter: add av_cold to uninit()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
d2bf8aecd3
commit
f4341c64be
@ -236,7 +236,7 @@ static void print_stats(AVFilterContext *ctx)
|
||||
av_log(ctx, AV_LOG_INFO, "Number of samples: %lld\n", nb_samples / s->nb_channels);
|
||||
}
|
||||
|
||||
static void uninit(AVFilterContext *ctx)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
AudioStatsContext *s = ctx->priv;
|
||||
|
||||
|
@ -126,7 +126,7 @@ static void print_stats(AVFilterContext *ctx)
|
||||
}
|
||||
}
|
||||
|
||||
static void uninit(AVFilterContext *ctx)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
print_stats(ctx);
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ end:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static void uninit(AVFilterContext *ctx)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
EvalContext *eval = ctx->priv;
|
||||
int i;
|
||||
|
@ -135,7 +135,7 @@ static int init(AVFilterContext *ctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void uninit(AVFilterContext *ctx)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
InterleaveContext *interleave = ctx->priv;
|
||||
int i;
|
||||
|
@ -222,7 +222,7 @@ static int init(AVFilterContext *ctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void uninit(AVFilterContext *ctx)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
@ -527,7 +527,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
|
||||
return ff_filter_frame(outlink, outpicref);
|
||||
}
|
||||
|
||||
static void uninit(AVFilterContext *ctx)
|
||||
static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
RemovelogoContext *removelogo = ctx->priv;
|
||||
int a, b;
|
||||
|
Loading…
Reference in New Issue
Block a user