]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/img2dec.c
lavf: move AVStream.*index_entries* to AVStreamInternal
[ffmpeg] / libavformat / img2dec.c
index 4f9bfc635a2cd8bc895af15543600af69c8b820b..a08d4f7977d08440cf8c7bd048c4311efa22662f 100644 (file)
@@ -587,7 +587,7 @@ static int img_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
         int index = av_index_search_timestamp(st, timestamp, flags);
         if(index < 0)
             return -1;
-        s1->img_number = st->index_entries[index].pos;
+        s1->img_number = st->internal->index_entries[index].pos;
         return 0;
     }