mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-25 08:56:59 +08:00
avformat/utils: make av_url_split search for hashmark as well to separate hostname
RFC 3986 states that the generic syntax uses the slash ("/"), question mark
("?"), and number sign ("#") characters to delimit components that are
significant to the generic parser's hierarchical interpretation of an
identifier.
Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
@@ -75,6 +75,7 @@ int main(void)
|
||||
test2("https://1l-lh.a.net/i/1LIVE_HDS@179577/master.m3u8");
|
||||
test2("ftp://u:p%2B%2F2@ftp.pbt.com/ExportHD.mpg");
|
||||
test2("https://key.dns.com?key_id=2&model_id=12345&&access_key=");
|
||||
test2("http://example.com#tag");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user