]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/concat.c
vf_yadif: add an option to enable/disable deinterlacing based on src frame "interlace...
[ffmpeg] / libavformat / concat.c
index 40317de69ef401ee8025c60a4d45a3c7ec92b89e..da9bee2cc48f238bb9da5300747b774404b6992a 100644 (file)
@@ -105,7 +105,7 @@ static av_cold int concat_open(URLContext *h, const char *uri, int flags)
             break;
 
         /* creating size */
-        if ((size = url_filesize(uc)) < 0) {
+        if ((size = ffurl_size(uc)) < 0) {
             ffurl_close(uc);
             err = AVERROR(ENOSYS);
             break;
@@ -190,10 +190,9 @@ static int64_t concat_seek(URLContext *h, int64_t pos, int whence)
 }
 
 URLProtocol ff_concat_protocol = {
-    "concat",
-    concat_open,
-    concat_read,
-    NULL,
-    concat_seek,
-    concat_close,
+    .name      = "concat",
+    .url_open  = concat_open,
+    .url_read  = concat_read,
+    .url_seek  = concat_seek,
+    .url_close = concat_close,
 };