diff --git a/libavformat/bink.c b/libavformat/bink.c index eb1e332b61..143a2422ab 100644 --- a/libavformat/bink.c +++ b/libavformat/bink.c @@ -188,7 +188,7 @@ static int read_header(AVFormatContext *s) keyframe ? AVINDEX_KEYFRAME : 0); } - avio_skip(pb, 4); + avio_seek(pb, vst->index_entries[0].pos, SEEK_SET); bink->current_track = -1; return 0;