]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/ffmdec.c
avfitler/vf_perspective: support slice threading
[ffmpeg] / libavformat / ffmdec.c
index d296ca7ebc73ef0a1d17f3f6a95e88ec155b598b..f8fee2f35f2fe5a56bcf241f197a0ad539fc687e 100644 (file)
@@ -63,7 +63,7 @@ static int ffm_resync(AVFormatContext *s, int state)
 {
     av_log(s, AV_LOG_ERROR, "resyncing\n");
     while (state != PACKET_ID) {
-        if (url_feof(s->pb)) {
+        if (avio_feof(s->pb)) {
             av_log(s, AV_LOG_ERROR, "cannot find FFM syncword\n");
             return -1;
         }
@@ -250,7 +250,7 @@ static int ffm2_read_header(AVFormatContext *s)
         ffm->file_size = (UINT64_C(1) << 63) - 1;
     }
 
-    while(!url_feof(pb)) {
+    while(!avio_feof(pb)) {
         unsigned id = avio_rb32(pb);
         unsigned size = avio_rb32(pb);
         int64_t next = avio_tell(pb) + size;