demux_mkv: respect -forceidx
Don't use the index included in the file if the -forceidx option was specified.
This commit is contained in:
1 parent
d46b86bc7c
commit
edcc0c9674
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user