Commit d9b66b48 authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: fix null dereference

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