Commit 0678641b authored by Clément Bœsch's avatar Clément Bœsch

lavfi/deshake: remove unecessary check before unref.

parent e7b0e83e
......@@ -530,7 +530,6 @@ 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);
// Cleanup the old reference frame
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment