1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

vf_idet: fix free after use

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2012-10-11 00:47:15 +02:00
parent 1a104bf641
commit cac749a551

View File

@@ -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;