Commit b5c8aa74 authored by Anton Khirnov's avatar Anton Khirnov Committed by Luca Barbato

vf_yadif: unset cur_buf on the input link.

The buffer is stored internally, so this prevents it from being unreffed
Signed-off-by: default avatarLuca Barbato <>
parent f431315a
......@@ -221,6 +221,7 @@ static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
yadif->prev = yadif->cur;
yadif->cur = yadif->next;
yadif->next = picref;
link->cur_buf = NULL;
if (!yadif->cur)
return 0;
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