Skip to content

Commit

Permalink
avfilter: add av_cold to uninit()
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed May 6, 2013
1 parent d2bf8ae commit f4341c6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion libavfilter/af_astats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion libavfilter/af_volumedetect.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion libavfilter/asrc_aevalsrc.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static int init(AVFilterContext *ctx)
return ret;
}

static void uninit(AVFilterContext *ctx)
static av_cold void uninit(AVFilterContext *ctx)
{
EvalContext *eval = ctx->priv;
int i;
Expand Down
2 changes: 1 addition & 1 deletion libavfilter/f_interleave.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion libavfilter/vf_extractplanes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion libavfilter/vf_removelogo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f4341c6

Please sign in to comment.