mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-20 09:57:57 +00:00
vf_yadif: unset cur_buf on the input link.
The buffer is stored internally, so this prevents it from being unreffed automatically. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
parent
f431315a86
commit
b5c8aa745e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user