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

Francois Cartegnie git at videolan.org
Wed Jun 26 22:13:04 CEST 2019


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

demux: adaptive: missing total initializer

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

 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 80891ab988..f329a8ef90 100644
--- a/modules/demux/adaptive/playlist/SegmentTimeline.cpp
+++ b/modules/demux/adaptive/playlist/SegmentTimeline.cpp
@@ -39,6 +39,7 @@ SegmentTimeline::SegmentTimeline(uint64_t scale)
     :TimescaleAble(NULL)
 {
     setTimescale(scale);
+    totalLength = 0;
 }
 
 SegmentTimeline::~SegmentTimeline()



More information about the vlc-commits mailing list