diff --git a/MP42/MP42File.m b/MP42/MP42File.m index 9a2ec24..f25346f 100644 --- a/MP42/MP42File.m +++ b/MP42/MP42File.m @@ -671,6 +671,10 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) { } else { success = NO; + if (outError) { + *outError = MP42Error(@"The file could not be saved.", @"You do not have sufficient permissions for this operation.", 101); + [_logger writeErrorToLog:*outError]; + } } } else {