demux_mkv: respect -forceidx

Don't use the index included in the file if the -forceidx option was
specified.
This commit is contained in:
Uoti Urpala 2009-12-31 07:05:11 +02:00
parent d46b86bc7c
commit edcc0c9674
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}