Commit 9b3e23e9 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

demux:mkv: when finished reading position the reader at the end of the data we read

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent d5356135
......@@ -202,6 +202,9 @@ EbmlElement *EbmlParser::Get( int n_call )
else if( m_el[mi_level] == NULL )
msg_Dbg( p_demux,"MKV/Ebml Parser: m_el[mi_level] == NULL" );
/* go back to the end of the parent */
if( p_prev )
p_prev->SkipData( *m_es, EBML_CONTEXT(p_prev) );
else if( m_el[mi_level]->IsDummy() && !mb_dummy )
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