sink_buffer: dont return void from void functions.
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 01:30:12 +0000 (03:30 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Jun 2012 01:30:12 +0000 (03:30 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/sink_buffer.c

index d1a72e4..35c0b16 100644 (file)
@@ -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)