avfilter: add av_cold to uninit()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-05-06 16:55:06 +02:00
parent d2bf8aecd3
commit f4341c64be
6 changed files with 6 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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