mirror of
https://github.com/mpv-player/mpv
synced 2024-12-25 08:12:17 +00:00
demux_mkv: fix seek hang when going past end of file without index
This commit is contained in:
parent
4de3f19426
commit
5c3aaf03b1
@ -2465,6 +2465,8 @@ static int seek_creating_index(struct demuxer *demuxer, float rel_seek_secs,
|
||||
}
|
||||
}
|
||||
}
|
||||
if (s->eof)
|
||||
break;
|
||||
stream_seek(s, end);
|
||||
}
|
||||
enough_index:
|
||||
|
Loading…
Reference in New Issue
Block a user