]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/options.c
avformat: migrate to AVFormatContext->url
[ffmpeg] / libavformat / options.c
index 9371c72667479066857d4a7d8b24ef207bfb63bc..c188c23506a20b8a3c545f53b086b9d671bee891 100644 (file)
@@ -104,7 +104,7 @@ static int io_open_default(AVFormatContext *s, AVIOContext **pb,
 {
     int loglevel;
 
-    if (!strcmp(url, s->filename) ||
+    if (!strcmp(url, s->url) ||
         s->iformat && !strcmp(s->iformat->name, "image2") ||
         s->oformat && !strcmp(s->oformat->name, "image2")
     ) {