]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/dhav.c
lavf: move AVStream.*index_entries* to AVStreamInternal
[ffmpeg] / libavformat / dhav.c
index 79afe9be03d9ac80d1a3e919d0ea26e6dac92325..53deaff77eb91eb89a5f10f16d90f998193ca3f5 100644 (file)
@@ -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];