Commit a89495bb authored by David Fuhrmann's avatar David Fuhrmann

macos: slightly improved error handling when open files

parent c2e5c08a
......@@ -935,11 +935,11 @@ static VLCMain *_o_sharedMainInstance = nil;
{
psz_uri = make_URI([[o_sorted_names objectAtIndex: i] UTF8String], "file" );
if( !psz_uri )
return NO;
continue;
NSDictionary *o_dic = [NSDictionary dictionaryWithObject:[NSString stringWithCString:psz_uri encoding:NSUTF8StringEncoding] forKey:@"ITEM_URL"];
free( psz_uri );
[o_result insertObject: o_dic atIndex: i];
[o_result addObject: o_dic];
}
if( b_autoplay )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment