sink_buffer: remove unused variables
[ffmpeg.git] / 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")