Added an error message if we try to save on a folder without the write permission.

This commit is contained in:
Damiano Galassi committed 2014-10-23 18:14:43 +02:00
1 parent e2292ba6f4
commit 65e8074829
1 file changed
+3
+3
View File
@@ -691,6 +691,9 @@ static void logCallback(MP4LogLevel loglevel, const char *fmt, va_list ap) {
[self stopWriting];
success = [self updateMP4FileWithAttributes:attributes error:outError];
} else {
success = NO;
*outError = MP42Error(@"The file could not be saved.", @"You do not have sufficient permissions for this operation.", 101);
}
}