vf_idet: fix free after use
Fixes ticket #2449
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cac749a551)
This commit is contained in:
parent
13cf445358
commit
aef81fa75d
1 changed files with 1 additions and 0 deletions
|
|
@ -176,6 +176,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…
Add table
Add a link
Reference in a new issue