[vlc-commits] demux: adaptive: missing total initializer

Francois Cartegnie git at videolan.org
Mon Mar 30 16:16:02 CEST 2020


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jun 26 18:14:33 2019 +0200| [545038001e2b9247c0b84610f85e0cbddb8636b9] | committer: Francois Cartegnie

demux: adaptive: missing total initializer

(cherry picked from commit b92fbe02a5443c09a2e9a7698ff3e4120d3b6c23)

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

 modules/demux/adaptive/playlist/SegmentTimeline.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/adaptive/playlist/SegmentTimeline.cpp b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
index 4d39638b46..855e066459 100644
--- a/modules/demux/adaptive/playlist/SegmentTimeline.cpp
+++ b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
@@ -40,6 +40,7 @@ SegmentTimeline::SegmentTimeline(uint64_t scale)
     :TimescaleAble(NULL)
 {
     setTimescale(scale);
+    totalLength = 0;
 }
 
 SegmentTimeline::~SegmentTimeline()



More information about the vlc-commits mailing list