mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
demux_mkv: respect -forceidx
Don't use the index included in the file if the -forceidx option was specified.
This commit is contained in:
parent
d46b86bc7c
commit
edcc0c9674
@ -924,7 +924,7 @@ static int demux_mkv_read_cues(demuxer_t *demuxer)
|
||||
off_t off;
|
||||
int i, il;
|
||||
|
||||
if (index_mode == 0) {
|
||||
if (index_mode == 0 || index_mode == 2) {
|
||||
ebml_read_skip(s, NULL);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user