]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/sapdec.c
Merge commit 'eccc03c8fbc603a0a3257df66f0705f74fe2581a'
[ffmpeg] / libavformat / sapdec.c
index 522b38d10a2152960fec2411acd2e19bafc064b8..7a6c8bf1761e57bde4181739aca1cccb5a84d9fd 100644 (file)
@@ -74,7 +74,7 @@ static int sap_read_header(AVFormatContext *s)
         return AVERROR(EIO);
 
     av_url_split(NULL, 0, NULL, 0, host, sizeof(host), &port,
-                 path, sizeof(path), s->filename);
+                 path, sizeof(path), s->url);
     if (port < 0)
         port = 9875;