[vlc-commits] [Git][videolan/vlc][master] demux: dash: add missing nothrow

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Apr 30 11:09:31 UTC 2023



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
dccda0e1 by Johannes Kauffmann at 2023-04-30T10:30:16+00:00
demux: dash: add missing nothrow

- - - - -


1 changed file:

- modules/demux/dash/mpd/IsoffMainParser.cpp


Changes:

=====================================
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;
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dccda0e133ff0a2e85de727cf19ddbc634f06b67

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/dccda0e133ff0a2e85de727cf19ddbc634f06b67
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list