Remove the big if structure in MP42FileImporter init.

This commit is contained in:
Damiano Galassi authored and Damiano Galassi committed 2015-09-18 09:10:41 +02:00
1 parent ba4aca5cfb
commit 506b145480
11 files changed
+192 -116

No files matched your search

+4
View File
@@ -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])) {