diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index 9f68d2f933..7295d5035f 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -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;