Commit 621a467e authored by Steve Lhomme's avatar Steve Lhomme

demux:mkv: don't try to seek to an invalid position

parent 359e82a9
......@@ -850,6 +850,9 @@ bool matroska_segment_c::Seek( demux_t &demuxer, mtime_t i_absolute_mk_date, mti
it->first, it->second.pts, it->second.fpos, trackit->second->i_skip_until_fpos );
}
if ( i_seek_position == std::numeric_limits<SegmentSeeker::fptr_t>::max() )
return false;
// propogate seek information //
sys.i_pcr = VLC_TS_INVALID;
......
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