Commit 5673a010 authored by Clément Bœsch's avatar Clément Bœsch

lavfi/decimate: remove usage of link->cur_buf.

parent 33e0eb51
......@@ -198,7 +198,6 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *cur)
} else {
avfilter_unref_buffer(decimate->ref);
decimate->ref = cur;
inlink->cur_buf = NULL;
decimate->drop_count = FFMIN(-1, decimate->drop_count-1);
if (ret = ff_filter_frame(outlink, avfilter_ref_buffer(cur, ~AV_PERM_WRITE)) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment