[vlc-commits] dash: Group: Fixing SegmentInfoDefault initialization/deletion

Hugo Beauzée-Luyssen git at videolan.org
Fri Jan 6 12:40:40 CET 2012


vlc | branch: master | Hugo Beauzée-Luyssen <beauze.h at gmail.com> | Thu Jan  5 18:20:36 2012 +0100| [cb1d6223044b0accbe1500930efaef058baf25b5] | committer: Jean-Baptiste Kempf

dash: Group: Fixing SegmentInfoDefault initialization/deletion

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/stream_filter/dash/mpd/Group.cpp |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/dash/mpd/Group.cpp b/modules/stream_filter/dash/mpd/Group.cpp
index 0723396..b2073bd 100644
--- a/modules/stream_filter/dash/mpd/Group.cpp
+++ b/modules/stream_filter/dash/mpd/Group.cpp
@@ -27,15 +27,19 @@
 #include <vlc_common.h>
 #include <vlc_arrays.h>
 
+#include "SegmentInfoDefault.h"
+
 using namespace dash::mpd;
 
 Group::Group() :
-    subsegmentAlignmentFlag( false )
+    subsegmentAlignmentFlag( false ),
+    segmentInfoDefault( NULL )
 {
 }
 
 Group::~Group   ()
 {
+    delete this->segmentInfoDefault;
     vlc_delete_all( this->representations );
 }
 



More information about the vlc-commits mailing list