Commit 9c87aa8e authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

demux:mkv: use the more generic EbmlMaster::GetDataStart() method for each parser

That resulted in invalid casts in many cases.
Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent c7574905
......@@ -119,7 +119,7 @@ void EbmlParser::Reset( demux_t *p_demux )
this->p_demux = p_demux;
mi_user_level = mi_level = 1;
// a little faster and cleaner
m_es->I_O().setFilePointer( static_cast<KaxSegment*>(m_el[0])->GetGlobalPosition(0) );
m_es->I_O().setFilePointer( static_cast<EbmlMaster*>(m_el[0])->GetDataStart() );
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