mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
lavfi/decimate: remove usage of link->cur_buf.
This commit is contained in:
parent
33e0eb5109
commit
5673a0102a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user