[vlc-commits] demux: adaptative: fix leak on empty timeline (cid #1346961)
Francois Cartegnie
git at videolan.org
Thu Dec 31 18:01:14 CET 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 31 16:04:17 2015 +0100| [71d23a3289410e2a068c79e6dacd9b4d8113edf1] | committer: Francois Cartegnie
demux: adaptative: fix leak on empty timeline (cid #1346961)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=71d23a3289410e2a068c79e6dacd9b4d8113edf1
---
modules/demux/dash/mpd/IsoffMainParser.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/modules/demux/dash/mpd/IsoffMainParser.cpp b/modules/demux/dash/mpd/IsoffMainParser.cpp
index 8497f01..a95fe62 100644
--- a/modules/demux/dash/mpd/IsoffMainParser.cpp
+++ b/modules/demux/dash/mpd/IsoffMainParser.cpp
@@ -463,9 +463,8 @@ void IsoffMainParser::parseTimeline(Node *node, MediaSegmentTemplate *templ)
else timeline->addElement(number, d, r);
number += (1 + r);
-
- templ->segmentTimeline.Set(timeline);
}
+ templ->segmentTimeline.Set(timeline);
}
}
More information about the vlc-commits
mailing list