From 6a06b3218fcbeae44ab20145a0308360059012b6 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Wed, 13 Mar 2024 21:10:51 -0500 Subject: [PATCH] Fix crash when using chains from melt Regression caused by 2df4fc8 --- src/modules/core/producer_melt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/modules/core/producer_melt.c b/src/modules/core/producer_melt.c index 8057b5c0a..1a0e634b0 100644 --- a/src/modules/core/producer_melt.c +++ b/src/modules/core/producer_melt.c @@ -439,7 +439,6 @@ mlt_producer producer_melt_init(mlt_profile profile, } if (producer != NULL && chain != NULL) { mlt_chain_set_source(chain, producer); - mlt_producer_close(producer); mlt_chain_attach_normalizers(chain); producer = MLT_CHAIN_PRODUCER(chain); } else if (producer != NULL) {