Commit 68c2317b authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

dash: DASHManager: Prevent a crash when the downloader fails to start.

parent f6247a0f
...@@ -36,12 +36,15 @@ using namespace dash::buffer; ...@@ -36,12 +36,15 @@ using namespace dash::buffer;
DASHManager::DASHManager ( MPD *mpd, DASHManager::DASHManager ( MPD *mpd,
IAdaptationLogic::LogicType type, stream_t *stream) : IAdaptationLogic::LogicType type, stream_t *stream) :
conManager ( NULL ),
currentChunk ( NULL ), currentChunk ( NULL ),
adaptationLogic( NULL ), adaptationLogic( NULL ),
logicType ( type ), logicType ( type ),
mpdManager ( NULL ), mpdManager ( NULL ),
mpd ( mpd ), mpd ( mpd ),
stream (stream) stream ( stream ),
downloader ( NULL ),
buffer ( NULL )
{ {
} }
DASHManager::~DASHManager () DASHManager::~DASHManager ()
......
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