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

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

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
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 );
else if( MKV_CHECKED_PTR_DECL( p_tc, EbmlCrc32, el ) )
p_tc->ReadData(, 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