Fixed a crash.
This commit is contained in:
1 parent
196dc6effc
commit
e87ca990e5
1 file changed
+4
-2
+4
-2
@@ -594,8 +594,10 @@ static void logCallback(MP4LogLevel loglevel, const char* fmt, va_list ap)
|
|||||||
{
|
{
|
||||||
BOOL success = YES;
|
BOOL success = YES;
|
||||||
|
|
||||||
if (!url && outError) {
|
if (!url) {
|
||||||
*outError = MP42Error(@"Invalid path.", @"The destination path cannot be empty.", 100);
|
if (outError) {
|
||||||
|
*outError = MP42Error(@"Invalid path.", @"The destination path cannot be empty.", 100);
|
||||||
|
}
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user