[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 <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2022-08-03 21:19:51 -07:00
parent ad8c59be2a
commit 4d1d799f98

View file

@ -780,7 +780,6 @@ error:
- (void)close {
if(_source) {
[_source close];
_source = nil;
}