[FFmpeg-devel] [PATCH 2/5] lavfi/decimate: remove usage of link->cur_buf.
Clément Bœsch
ubitux at gmail.com
Wed Dec 26 20:33:05 CET 2012
---
libavfilter/vf_decimate.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavfilter/vf_decimate.c b/libavfilter/vf_decimate.c
index 267a435..b81c3ee 100644
--- a/libavfilter/vf_decimate.c
+++ b/libavfilter/vf_decimate.c
@@ -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)
--
1.8.0.2
More information about the ffmpeg-devel
mailing list