Commit afdf229f authored by Steve Lhomme's avatar Steve Lhomme

demux:mkv: don't read the first Cluster if we can't seek back

parent 2876b031
......@@ -1415,6 +1415,11 @@ bool matroska_segment_c::ParseCluster( KaxCluster *cluster, bool b_update_start_
return false;
bool b_seekable;
vlc_stream_Control( sys.demuxer.s, STREAM_CAN_SEEK, &b_seekable );
if (!b_seekable)
return false;
EbmlElement *el;
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