Commit c4ec3b92 authored by Laurent Aimar's avatar Laurent Aimar

Fixed access on deleted object.

parent b1a0a922
......@@ -2190,7 +2190,10 @@ matroska_stream_c *demux_sys_t::AnalyseAllSegmentsFound( demux_t *p_demux, EbmlS
p_stream1->segments.push_back( p_segment1 );
}
else
{
p_segment1->segment = NULL;
delete p_segment1;
}
}
if (p_l0->IsFiniteSize() )
{
......
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