]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/yop.c
avcodec/vc1dsp: add () to protect the arguments of the op* macros
[ffmpeg] / libavformat / yop.c
index 07086d53b83e7b4b0e8459b79d42791072366a69..81b3cc2b32b26712bf53bda8d0599575f2249ee8 100644 (file)
@@ -199,7 +199,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;