Commit 2abcd909 authored by Felix Paul Kühne's avatar Felix Paul Kühne

VLCMedia: protect 'parse' against missing p_md instance (close #8718)

parent 322a472b
......@@ -308,7 +308,8 @@ static void HandleMediaParsedChanged(const libvlc_event_t * event, void * self)
- (void)parse
{
libvlc_media_parse_async(p_md);
if (p_md)
libvlc_media_parse_async(p_md);
}
- (void)addOptions:(NSDictionary*)options
......
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