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

Hugo Beauzée-Luyssen git at videolan.org
Tue Jan 24 23:22:02 CET 2012


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

dash: Group: Fixing SegmentInfoDefault initialization/deletion

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit cb1d6223044b0accbe1500930efaef058baf25b5)

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

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

 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