From f9c7e85e7248358fced7b3ab5727d810c1178dfa 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; }