mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
vf_idet: fix free after use
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
1a104bf641
commit
cac749a551
@ -175,6 +175,7 @@ static int start_frame(AVFilterLink *link, AVFilterBufferRef *picref)
|
||||
idet->prev = idet->cur;
|
||||
idet->cur = idet->next;
|
||||
idet->next = picref;
|
||||
link->cur_buf = NULL;
|
||||
|
||||
if (!idet->cur)
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user