Retain the fileImporters classes array.
This commit is contained in:
1 parent
3b941b8c9e
commit
1b0316237c
1 file changed
+2
-2
@@ -47,7 +47,7 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
|
||||
+ (void)initialize {
|
||||
if (self == [MP42FileImporter class]) {
|
||||
_fileImporters = @[[MP42MkvImporter class],
|
||||
_fileImporters = [@[[MP42MkvImporter class],
|
||||
[MP42Mp4Importer class],
|
||||
[MP42SrtImporter class],
|
||||
[MP42CCImporter class],
|
||||
@@ -55,7 +55,7 @@ static NSArray<NSString *> *_supportedFileFormats;
|
||||
[MP42AACImporter class],
|
||||
[MP42H264Importer class],
|
||||
[MP42VobSubImporter class],
|
||||
[MP42AVFImporter class]];
|
||||
[MP42AVFImporter class]] retain];
|
||||
|
||||
NSMutableArray<NSString *> *formats = [[NSMutableArray alloc] init];
|
||||
|
||||
|
||||
Reference in new issue
Block a user