From 256534eb4ad2ae59fd105c897822d2304749684a Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Fri, 22 Jul 2016 09:56:57 +0200 Subject: [PATCH] Use the new MP42File init method. --- Classes/SBQueueItem.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/SBQueueItem.m b/Classes/SBQueueItem.m index 992ed6c..a9b7ba9 100755 --- a/Classes/SBQueueItem.m +++ b/Classes/SBQueueItem.m @@ -166,7 +166,7 @@ [self.fileURL getResourceValue:&type forKey:NSURLTypeIdentifierKey error:outError]; if ([type isEqualToString:@"com.apple.m4a-audio"] || [type isEqualToString:@"com.apple.m4v-video"] || [type isEqualToString:@"public.mpeg-4"]) { - self.mp4File = [[MP42File alloc] initWithURL:self.fileURL]; + self.mp4File = [[MP42File alloc] initWithURL:self.fileURL error:NULL]; } else { self.mp4File = [[MP42File alloc] init]; MP42FileImporter *fileImporter = [[MP42FileImporter alloc] initWithURL:self.fileURL error:outError];