diff --git a/modules/demux/dash/mpd/IsoffMainParser.cpp b/modules/demux/dash/mpd/IsoffMainParser.cpp index 4c992c887f1e846b76be8e2c54a2e79071cfe72c..9ad69a3684827aa6f81d639b41b78ed18f3ff37d 100644 --- a/modules/demux/dash/mpd/IsoffMainParser.cpp +++ b/modules/demux/dash/mpd/IsoffMainParser.cpp @@ -292,7 +292,7 @@ void IsoffMainParser::parseAdaptationSets (MPD *mpd, Node *periodNode, BaseP for(it = adaptationSets.begin(); it != adaptationSets.end(); ++it) { - AdaptationSet *adaptationSet = new AdaptationSet(period); + AdaptationSet *adaptationSet = new (std::nothrow) AdaptationSet(period); if(!adaptationSet) continue;