Commit dc0ef428 authored by Damien Fouilleul's avatar Damien Fouilleul

playlistinfo.m: MacOS X GUI, fixed crash where meta psz_value is NULL (usn't...

playlistinfo.m: MacOS X GUI, fixed crash where meta psz_value is NULL (usn't be the case before), crash happens in shoutcast service discovery
parent 48785825
......@@ -480,7 +480,7 @@ static VLCInfoTreeItem *o_root_item = nil;
initWithName: [NSString stringWithUTF8String:
p_item->p_input->pp_categories[i_object_id]->pp_infos[i]->psz_name]
value: [NSString stringWithUTF8String:
p_item->p_input->pp_categories[i_object_id]->pp_infos[i]->psz_value]
p_item->p_input->pp_categories[i_object_id]->pp_infos[i]->psz_value ? : ""]
ID: i
parent: self]];
}
......
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