Commit 987e63af authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

demux/adaptive: ChunksSourceStream: use mem-intializer-list in constructor

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 48ab02e4
......@@ -32,12 +32,11 @@
using namespace adaptive;
ChunksSourceStream::ChunksSourceStream(vlc_object_t *p_obj_, ChunksSource *source_)
{
p_block = NULL;
b_eof = false;
p_obj = p_obj_;
source = source_;
}
: p_block( NULL )
, b_eof( false )
, p_obj( p_obj_ )
, source( source_ )
{ }
ChunksSourceStream::~ChunksSourceStream()
{
......
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