Commit d9b66b48 authored by François Cartegnie's avatar François Cartegnie 🤞
Browse files

demux: adaptative: fix null dereference

parent 6dc58535
......@@ -152,7 +152,7 @@ static int Open(vlc_object_t *p_obj)
static_cast<AbstractAdaptationLogic::LogicType>(logic));
}
if(!p_manager->start())
if(!p_manager || !p_manager->start())
{
delete p_manager;
return VLC_EGENERIC;
......
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