提交 a612e86e 编写于 作者: C Clément Bœsch

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

上级 5673a010
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册