lavf: move internal fields from public to internal context
[ffmpeg.git] / libavformat / yop.c
index ea3175e..08fcc19 100644 (file)
@@ -194,7 +194,7 @@ static int yop_read_seek(AVFormatContext *s, int stream_index,
     if (!stream_index)
         return -1;
 
-    pos_min        = s->data_offset;
+    pos_min        = s->internal->data_offset;
     pos_max        = avio_size(s->pb) - yop->frame_size;
     frame_count    = (pos_max - pos_min) / yop->frame_size;