Commit f4341c64 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter: add av_cold to uninit()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d2bf8aec
...@@ -236,7 +236,7 @@ static void print_stats(AVFilterContext *ctx) ...@@ -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); 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; AudioStatsContext *s = ctx->priv;
......
...@@ -126,7 +126,7 @@ static void print_stats(AVFilterContext *ctx) ...@@ -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); print_stats(ctx);
} }
......
...@@ -152,7 +152,7 @@ end: ...@@ -152,7 +152,7 @@ end:
return ret; return ret;
} }
static void uninit(AVFilterContext *ctx) static av_cold void uninit(AVFilterContext *ctx)
{ {
EvalContext *eval = ctx->priv; EvalContext *eval = ctx->priv;
int i; int i;
......
...@@ -135,7 +135,7 @@ static int init(AVFilterContext *ctx) ...@@ -135,7 +135,7 @@ static int init(AVFilterContext *ctx)
return 0; return 0;
} }
static void uninit(AVFilterContext *ctx) static av_cold void uninit(AVFilterContext *ctx)
{ {
InterleaveContext *interleave = ctx->priv; InterleaveContext *interleave = ctx->priv;
int i; int i;
......
...@@ -222,7 +222,7 @@ static int init(AVFilterContext *ctx) ...@@ -222,7 +222,7 @@ static int init(AVFilterContext *ctx)
return 0; return 0;
} }
static void uninit(AVFilterContext *ctx) static av_cold void uninit(AVFilterContext *ctx)
{ {
int i; int i;
......
...@@ -527,7 +527,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref) ...@@ -527,7 +527,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *inpicref)
return ff_filter_frame(outlink, outpicref); return ff_filter_frame(outlink, outpicref);
} }
static void uninit(AVFilterContext *ctx) static av_cold void uninit(AVFilterContext *ctx)
{ {
RemovelogoContext *removelogo = ctx->priv; RemovelogoContext *removelogo = ctx->priv;
int a, b; int a, b;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment