[vlc-commits] demux: adaptative: fix null dereference
    Francois Cartegnie 
    git at videolan.org
       
    Fri Jul 24 15:50:15 CEST 2015
    
    
  
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Jul 24 15:49:26 2015 +0200| [d9b66b48590de4960f5c323278fcc72823c708ad] | committer: Francois Cartegnie
demux: adaptative: fix null dereference
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9b66b48590de4960f5c323278fcc72823c708ad
---
 modules/demux/adaptative/adaptative.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/adaptative/adaptative.cpp b/modules/demux/adaptative/adaptative.cpp
index f3c0dd2..6dc4f94 100644
--- a/modules/demux/adaptative/adaptative.cpp
+++ b/modules/demux/adaptative/adaptative.cpp
@@ -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;
    
    
More information about the vlc-commits
mailing list