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
@@ -912,7 +912,7 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
return success;
}
- (BOOL)updateMP4FileWithOptions:(nullable NSDictionary<NSString *, id> *)options error:(NSError **)outError {
- (BOOL)updateMP4FileWithOptions:(nullable NSDictionary<NSString *, id> *)options error:(NSError * __autoreleasing *)outError {
// Open the mp4 file
if (![self startWriting]) {