1
0
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:
Uoti Urpala 2010-11-08 04:43:48 +02:00
parent 4de3f19426
commit 5c3aaf03b1

View File

@ -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: