]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/nutdec.c
lavf: move AVStream.*index_entries* to AVStreamInternal
[ffmpeg] / libavformat / nutdec.c
index 3779dce2a88f0b3a0fb5b4a4225ec3aea1d8f60e..53a052503ecbeda00d7199307c23e1d91e9128d8 100644 (file)
@@ -1235,15 +1235,15 @@ static int read_seek(AVFormatContext *s, int stream_index,
         return AVERROR(ENOSYS);
     }
 
-    if (st->index_entries) {
+    if (st->internal->index_entries) {
         int index = av_index_search_timestamp(st, pts, flags);
         if (index < 0)
             index = av_index_search_timestamp(st, pts, flags ^ AVSEEK_FLAG_BACKWARD);
         if (index < 0)
             return -1;
 
-        pos2 = st->index_entries[index].pos;
-        ts   = st->index_entries[index].timestamp;
+        pos2 = st->internal->index_entries[index].pos;
+        ts   = st->internal->index_entries[index].timestamp;
     } else {
         av_tree_find(nut->syncpoints, &dummy, ff_nut_sp_pts_cmp,
                      (void **) next_node);