mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/deshake: remove unecessary check before unref.
This commit is contained in:
parent
e7b0e83e96
commit
0678641b7c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue