X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fasfdec_f.c;h=8e48e457d9aa90a2a80e0c2fb93c9358c3f4fff9;hb=cea7c19cda0ea1630ae1de8c102ab14231b9db10;hp=e0fee8301e69552f7c3de80eef4c0cf16515e00d;hpb=7e87288f73242dac6344e65f892569102893fac0;p=ffmpeg diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c index e0fee8301e6..8e48e457d9a 100644 --- a/libavformat/asfdec_f.c +++ b/libavformat/asfdec_f.c @@ -1682,11 +1682,11 @@ static int asf_read_seek(AVFormatContext *s, int stream_index, asf->index_read = -1; } - if (asf->index_read > 0 && st->index_entries) { + if (asf->index_read > 0 && st->internal->index_entries) { int index = av_index_search_timestamp(st, pts, flags); if (index >= 0) { /* find the position */ - uint64_t pos = st->index_entries[index].pos; + uint64_t pos = st->internal->index_entries[index].pos; /* do the seek */ av_log(s, AV_LOG_DEBUG, "SEEKTO: %"PRId64"\n", pos);