]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mlvdec.c
avformat: migrate to AVFormatContext->url
[ffmpeg] / libavformat / mlvdec.c
index 319cd26de4f0032e99721749ff3b58a0874ed1fc..d387c871ee9538428517be1b423ef9c5c8c817c8 100644 (file)
@@ -342,9 +342,9 @@ static int read_header(AVFormatContext *avctx)
         return ret;
 
     /* scan secondary files */
-    if (strlen(avctx->filename) > 2) {
+    if (strlen(avctx->url) > 2) {
         int i;
-        char *filename = av_strdup(avctx->filename);
+        char *filename = av_strdup(avctx->url);
 
         if (!filename)
             return AVERROR(ENOMEM);