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
@@ -1354,6 +1354,10 @@ NSData* H264Info(const char *filePath, uint32_t *pic_width, uint32_t *pic_height
|
||||
|
||||
@implementation MP42H264Importer
|
||||
|
||||
+ (NSArray<NSString *> *)supportedFileFormats {
|
||||
return @[@"264", @"h264"];
|
||||
}
|
||||
|
||||
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError **)outError
|
||||
{
|
||||
if ((self = [super initWithURL:fileURL])) {
|
||||
|
||||
Reference in new issue
Block a user