1
0
Fork 0

matroskadec_haali: fix stream indexing in mkv_read_seek

This commit is contained in:
Hendrik Leppkes 2022-10-11 13:19:08 +02:00
parent b1ab4fd58b
commit b5f46fa671
Signed by: hendrik
GPG Key ID: 846079A4B0A7C1B5
1 changed files with 1 additions and 1 deletions

View File

@ -2213,7 +2213,7 @@ static int mkv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
cur_dts -= ctx->timeline[ctx->timeline_position].offset;
}
avpriv_update_cur_dts(s, ctx->tracks[stream_index].stream, cur_dts);
avpriv_update_cur_dts(s, s->streams[stream_index], cur_dts);
return 0;
}