sink_buffer: remove unused variables
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Mar 2013 01:52:15 +0000 (02:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 10 Mar 2013 01:52:15 +0000 (02:52 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/sink_buffer.c

index 8db3aa1..4636bb3 100644 (file)
@@ -256,9 +256,6 @@ int av_buffersink_read_samples(AVFilterContext *ctx, AVFilterBufferRef **buf,
 int av_buffersink_get_buffer_ref(AVFilterContext *ctx,
                                   AVFilterBufferRef **bufref, int flags)
 {
-    BufferSinkContext *buf = ctx->priv;
-    AVFilterLink *inlink = ctx->inputs[0];
-    int ret;
     *bufref = NULL;
 
     av_assert0(    !strcmp(ctx->filter->name, "buffersink")