[vlc-commits] demux: dash: missing initializer (cid #1260244)

Francois Cartegnie git at videolan.org
Mon Dec 22 19:22:11 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Dec 22 18:58:07 2014 +0100| [576d36bc075c2bef5b06540664882afd72833e3a] | committer: Francois Cartegnie

demux: dash: missing initializer (cid #1260244)

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

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

diff --git a/modules/stream_filter/dash/mpd/Segment.cpp b/modules/stream_filter/dash/mpd/Segment.cpp
index eaf4a75..b5015c6 100644
--- a/modules/stream_filter/dash/mpd/Segment.cpp
+++ b/modules/stream_filter/dash/mpd/Segment.cpp
@@ -253,7 +253,7 @@ dash::http::Chunk * IndexSegment::getChunk(const std::string &url)
 IndexSegment::IndexSegmentChunk::IndexSegmentChunk(ISegment *segment, const std::string &url)
     : SegmentChunk(segment, url)
 {
-
+    rep = NULL;
 }
 
 void IndexSegment::IndexSegmentChunk::setIndexRepresentation(Representation *rep_)



More information about the vlc-commits mailing list