summaryrefslogtreecommitdiff
path: root/libavformat/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/url.c')
-rw-r--r--libavformat/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/url.c b/libavformat/url.c
index 3c858f0257..6db4b4e1ae 100644
--- a/libavformat/url.c
+++ b/libavformat/url.c
@@ -97,7 +97,7 @@ int ff_url_decompose(URLComponents *uc, const char *url, const char *end)
/* scheme */
uc->scheme = cur;
- p = find_delim(":/", cur, end); /* lavf "schemes" can contain options */
+ p = find_delim(":/?#", cur, end); /* lavf "schemes" can contain options but not some RFC 3986 delimiters */
if (*p == ':')
cur = p + 1;