mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02: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