Remove the big if structure in MP42FileImporter init.
This commit is contained in:
1 parent
ba4aca5cfb
commit
506b145480
11 files changed
+192
-116
No files matched your search
@@ -19,6 +19,10 @@
|
||||
|
||||
@implementation MP42SrtImporter
|
||||
|
||||
+ (NSArray<NSString *> *)supportedFileFormats {
|
||||
return @[@"srt"];
|
||||
}
|
||||
|
||||
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError **)outError
|
||||
{
|
||||
if ((self = [super initWithURL:fileURL])) {
|
||||
|
||||
Reference in new issue
Block a user