[FFmpeg-cvslog] lavfi/decimate: remove usage of link->cur_buf.

Clément Bœsch git at videolan.org
Wed Dec 26 21:33:02 CET 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Dec 26 19:56:53 2012 +0100| [5673a0102ae1c3a11665db5d82e754c9e917a512] | committer: Clément Bœsch

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=5673a0102ae1c3a11665db5d82e754c9e917a512
---

 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)



More information about the ffmpeg-cvslog mailing list