Commit 8467e19d authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

demux:mkv: simplify the code

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 73dfee41
......@@ -155,11 +155,8 @@ EbmlElement *EbmlParser::Get( int n_call )
}
p_prev = m_el[mi_level];
if( m_el[mi_level] )
{
m_el[mi_level]->SkipData( *m_es, EBML_CONTEXT(m_el[mi_level]) );
}
if( p_prev )
p_prev->SkipData( *m_es, EBML_CONTEXT(p_prev) );
// If the parent is a segment, use the segment context when creating children
// (to prolong their lifetime), otherwise just continue as normal
......
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