Commit 4b23018d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Ebml: remove version check, since we already force Version to be > 7.7

parent 66f03d20
......@@ -125,12 +125,8 @@ void EbmlParser::Reset( demux_t *p_demux )
mi_level--;
}
mi_user_level = mi_level = 1;
#if LIBEBML_VERSION >= 0x000704
// a little faster and cleaner
m_es->I_O().setFilePointer( static_cast<KaxSegment*>(m_el[0])->GetGlobalPosition(0) );
#else
m_es->I_O().setFilePointer( m_el[0]->GetElementPosition() + m_el[0]->ElementSize(true) - m_el[0]->GetSize() );
#endif
mb_dummy = config_GetInt( p_demux, "mkv-use-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