From 2b67137daa488b2de4c86fd025ab9db576a1fb9a Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Mon, 15 Sep 2025 18:02:16 +0200 Subject: [PATCH] avfilter/vf_idet: correctly reset pixdesc on format change --- libavfilter/vf_idet.c | 1 + 1 file changed, 1 insertion(+) 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;