From d35c27db639f7b9ce919c185d3b1eb8acd1ed9c7 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 10 Jun 2012 03:30:12 +0200 Subject: [PATCH] sink_buffer: dont return void from void functions. Signed-off-by: Michael Niedermayer --- libavfilter/sink_buffer.c | 4 ++-- 1 file 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)