Add __autoreleasing to NSError

This commit is contained in:
Damiano Galassi committed 2017-10-09 12:34:55 +02:00
1 parent 1f26adec8f
commit f0f7a0704b
39 files changed
+44 -44

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ typedef struct MP4DemuxHelper {
return @[@"mp4", @"m4v", @"m4a", @"m4r"];
}
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError **)outError;
- (instancetype)initWithURL:(NSURL *)fileURL error:(NSError * __autoreleasing *)outError;
{
if ((self = [super initWithURL:fileURL])) {
MP42File *sourceFile = [[MP42File alloc] initWithURL:self.fileURL error:outError];