mirror of https://github.com/mpv-player/mpv
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);
|
stream_seek(s, end);
|
||||||
}
|
}
|
||||||
enough_index:
|
enough_index:
|
||||||
|
|
Loading…
Reference in New Issue