Commit ab7ce0df authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

media_discoverer.c: Raise an exception on error.

parent ee031e80
......@@ -90,6 +90,7 @@ libvlc_media_discoverer_new_from_name( libvlc_instance_t * p_inst,
if( !p_mdis->p_sd )
free( p_mdis );
libvlc_exception_raise( p_e, "Can't find the services_discovery module named '%s'", psz_name );
return NULL;
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