Return an error if a file can't be copied in a save as operation.
This commit is contained in:
1 parent
a737dec8ef
commit
e5693fe447
1 file changed
+4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user