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

demux:mkv: read the CRC32 silently (to avoid a seek)

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 61ea699c
......@@ -475,6 +475,10 @@ SegmentSeeker::mkv_jump_to( matroska_segment_c& ms, fptr_t fpos )
ms.cluster->InitTimecode( static_cast<uint64>( *p_tc ), ms.i_timescale );
break;
}
else if( MKV_CHECKED_PTR_DECL( p_tc, EbmlCrc32, el ) )
{
p_tc->ReadData( ms.es.I_O(), SCOPE_ALL_DATA ); /* avoid a skip that may fail */
}
}
/* TODO: add error handling; what if we never get a KaxCluster and/or KaxClusterTimecode? */
......
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