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

cmml: Fix a warning about vlc_create_thread() return value not checked.

parent 57ef9e43
......@@ -137,7 +137,12 @@ decoder_sys_t *OpenIntf ( vlc_object_t *p_this )
var_AddCallback( p_intf->p_libvlc, "browse-follow-anchor",
FollowAnchorCallback, p_intf );
vlc_thread_create( p_intf, "cmml", RunIntf, VLC_THREAD_PRIORITY_LOW );
int ret = vlc_thread_create( p_intf, "cmml", RunIntf, VLC_THREAD_PRIORITY_LOW );
if (ret)
{
CloseIntf( p_intf);
return NULL;
}
return p_intf;
}
......
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