Commit cac749a5 authored by Michael Niedermayer's avatar Michael Niedermayer

vf_idet: fix free after use

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 1a104bf6
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment