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

lavfi/deshake: remove unecessary check before unref.

上级 e7b0e83e
......@@ -530,8 +530,7 @@ static int filter_frame(AVFilterLink *link, AVFilterBufferRef *in)
// Store the current frame as the reference frame for calculating the
// motion of the next frame
if (deshake->ref != NULL)
avfilter_unref_buffer(deshake->ref);
avfilter_unref_buffer(deshake->ref);
// Cleanup the old reference frame
deshake->ref = in;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册