]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpc.c
lavf: move AVStream.*index_entries* to AVStreamInternal
[ffmpeg] / libavformat / mpc.c
index 6a94b5d1d03daf134d3194b3e54a411a1392e7ec..31a2072406ff5e452e2380bce663fda14565266d 100644 (file)
@@ -194,8 +194,8 @@ static int mpc_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
     uint32_t lastframe;
 
     /* if found, seek there */
-    if (index >= 0 && st->index_entries[st->nb_index_entries-1].timestamp >= timestamp - DELAY_FRAMES){
-        c->curframe = st->index_entries[index].pos;
+    if (index >= 0 && st->internal->index_entries[st->internal->nb_index_entries-1].timestamp >= timestamp - DELAY_FRAMES){
+        c->curframe = st->internal->index_entries[index].pos;
         return 0;
     }
     /* if timestamp is out of bounds, return error */