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

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


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Dec 26 20:00:00 2012 +0100| [a612e86ea65eef83d3b616df4aa3e774d820e040] | committer: Clément Bœsch

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

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

 libavfilter/vf_deshake.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 867041b..206f701 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -443,7 +443,6 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
     }
     avfilter_copy_buffer_ref_props(out, in);
 
-    link->cur_buf = NULL; /* it is in 'in' now */
     if (deshake->cx < 0 || deshake->cy < 0 || deshake->cw < 0 || deshake->ch < 0) {
         // Find the most likely global motion for the current frame
         find_motion(deshake, (deshake->ref == NULL) ? in->data[0] : deshake->ref->data[0], in->data[0], link->w, link->h, in->linesize[0], &t);



More information about the ffmpeg-cvslog mailing list