Commit cb1d6223 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: Group: Fixing SegmentInfoDefault initialization/deletion

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent c4851d5c
...@@ -27,15 +27,19 @@ ...@@ -27,15 +27,19 @@
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_arrays.h> #include <vlc_arrays.h>
#include "SegmentInfoDefault.h"
using namespace dash::mpd; using namespace dash::mpd;
Group::Group() : Group::Group() :
subsegmentAlignmentFlag( false ) subsegmentAlignmentFlag( false ),
segmentInfoDefault( NULL )
{ {
} }
Group::~Group () Group::~Group ()
{ {
delete this->segmentInfoDefault;
vlc_delete_all( this->representations ); vlc_delete_all( this->representations );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment