[vlc-commits] demux: dash: missing segment list parenting

Francois Cartegnie git at videolan.org
Wed Jun 10 18:58:04 CEST 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Jun  2 11:12:42 2015 +0200| [b304141f26410b1d0441fdcfe4ebc3c719084d45] | committer: Francois Cartegnie

demux: dash: missing segment list parenting

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b304141f26410b1d0441fdcfe4ebc3c719084d45
---

 modules/demux/dash/mpd/IsoffMainParser.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/dash/mpd/IsoffMainParser.cpp b/modules/demux/dash/mpd/IsoffMainParser.cpp
index abaae67..6e6ee11 100644
--- a/modules/demux/dash/mpd/IsoffMainParser.cpp
+++ b/modules/demux/dash/mpd/IsoffMainParser.cpp
@@ -297,7 +297,7 @@ size_t IsoffMainParser::parseSegmentList(Node * segListNode, SegmentInformation
     {
         std::vector<Node *> segments = DOMHelper::getElementByTagName(segListNode, "SegmentURL", false);
         SegmentList *list;
-        if((list = new (std::nothrow) SegmentList()))
+        if((list = new (std::nothrow) SegmentList(info)))
         {
             parseInitSegment(DOMHelper::getFirstChildElementByName(segListNode, "Initialization"), list, info);
 



More information about the vlc-commits mailing list