mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 10:30:05 +01:00
Rename url_split to ff_url_split
Since this function isn't in the public API, it should have an ff_ prefix. Originally committed as revision 22321 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -44,7 +44,7 @@ static int tcp_open(URLContext *h, const char *uri, int flags)
|
||||
char hostname[1024],proto[1024],path[1024];
|
||||
char portstr[10];
|
||||
|
||||
url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname),
|
||||
ff_url_split(proto, sizeof(proto), NULL, 0, hostname, sizeof(hostname),
|
||||
&port, path, sizeof(path), uri);
|
||||
if (strcmp(proto,"tcp") || port <= 0 || port >= 65536)
|
||||
return AVERROR(EINVAL);
|
||||
|
||||
Reference in New Issue
Block a user