Return an error if a file can't be copied in a save as operation.

This commit is contained in:
Damiano Galassi committed 2016-11-23 11:18:08 +01:00
1 parent a737dec8ef
commit e5693fe447
1 file changed
+4
+4
View File
@@ -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 {