diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index 74baa20227..7ec8b088be 100644 --- a/libavfilter/vf_idet.c +++ b/libavfilter/vf_idet.c @@ -283,6 +283,7 @@ static int filter_frame(AVFilterLink *link, AVFrame *picref) av_frame_free(&idet->cur ); av_frame_free(&idet->next); + idet->csp = NULL; } idet->prev = idet->cur;