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:

committed by
Carl Eugen Hoyos

parent
13cf445358
commit
aef81fa75d
@@ -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;
|
||||
|
Reference in New Issue
Block a user