From 4d1d799f98073133c0516c11a00d19aaf7d49286 Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Wed, 3 Aug 2022 21:19:51 -0700 Subject: [PATCH] [MAD Decoder] Do not close source ourselves The input isn't supposed to close its own sources, as it did not open them itself, and they should be cleaned up automatically when they are released to zero reference count. Signed-off-by: Christopher Snowhill --- Plugins/MAD/MADDecoder.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Plugins/MAD/MADDecoder.m b/Plugins/MAD/MADDecoder.m index ed5b51e43..342a90826 100644 --- a/Plugins/MAD/MADDecoder.m +++ b/Plugins/MAD/MADDecoder.m @@ -780,7 +780,6 @@ error: - (void)close { if(_source) { - [_source close]; _source = nil; }