aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-10 03:30:12 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-10 03:30:12 +0200
commitd35c27db639f7b9ce919c185d3b1eb8acd1ed9c7 (patch)
tree986603a976fd44c4e421626759a90f827b7380c8
parent3b196bb73708e944a5d129e3f38f906522c1adeb (diff)
downloadffmpeg-d35c27db639f7b9ce919c185d3b1eb8acd1ed9c7.tar.gz
sink_buffer: dont return void from void functions.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavfilter/sink_buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/sink_buffer.c b/libavfilter/sink_buffer.c
index d1a72e4081..35c0b16b41 100644
--- a/libavfilter/sink_buffer.c
+++ b/libavfilter/sink_buffer.c
@@ -193,7 +193,7 @@ static av_cold void vsink_uninit(AVFilterContext *ctx)
{
BufferSinkContext *buf = ctx->priv;
av_freep(&buf->pixel_fmts);
- return common_uninit(ctx);
+ common_uninit(ctx);
}
static int vsink_query_formats(AVFilterContext *ctx)
@@ -263,7 +263,7 @@ static av_cold void asink_uninit(AVFilterContext *ctx)
av_freep(&buf->sample_fmts);
av_freep(&buf->channel_layouts);
- return common_uninit(ctx);
+ common_uninit(ctx);
}
static int asink_query_formats(AVFilterContext *ctx)