X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fdhav.c;fp=libavformat%2Fdhav.c;h=53deaff77eb91eb89a5f10f16d90f998193ca3f5;hb=cea7c19cda0ea1630ae1de8c102ab14231b9db10;hp=79afe9be03d9ac80d1a3e919d0ea26e6dac92325;hpb=7e87288f73242dac6344e65f892569102893fac0;p=ffmpeg diff --git a/libavformat/dhav.c b/libavformat/dhav.c index 79afe9be03d..53deaff77eb 100644 --- a/libavformat/dhav.c +++ b/libavformat/dhav.c @@ -441,10 +441,10 @@ static int dhav_read_seek(AVFormatContext *s, int stream_index, if (index < 0) return -1; - if (avio_seek(s->pb, st->index_entries[index].pos, SEEK_SET) < 0) + if (avio_seek(s->pb, st->internal->index_entries[index].pos, SEEK_SET) < 0) return -1; - pts = st->index_entries[index].timestamp; + pts = st->internal->index_entries[index].timestamp; for (int n = 0; n < s->nb_streams; n++) { AVStream *st = s->streams[n];