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:
@@ -446,7 +446,7 @@ static void sdp_parse_line(AVFormatContext *s, SDPParseState *s1,
|
||||
rtsp_st = st->priv_data;
|
||||
|
||||
/* XXX: may need to add full url resolution */
|
||||
url_split(proto, sizeof(proto), NULL, 0, NULL, 0,
|
||||
ff_url_split(proto, sizeof(proto), NULL, 0, NULL, 0,
|
||||
NULL, NULL, 0, p);
|
||||
if (proto[0] == '\0') {
|
||||
/* relative control URL */
|
||||
@@ -1390,7 +1390,7 @@ int ff_rtsp_connect(AVFormatContext *s)
|
||||
return AVERROR(EIO);
|
||||
redirect:
|
||||
/* extract hostname and port */
|
||||
url_split(NULL, 0, auth, sizeof(auth),
|
||||
ff_url_split(NULL, 0, auth, sizeof(auth),
|
||||
host, sizeof(host), &port, path, sizeof(path), s->filename);
|
||||
if (*auth) {
|
||||
int auth_len = strlen(auth), b64_len = ((auth_len + 2) / 3) * 4 + 1;
|
||||
|
||||
Reference in New Issue
Block a user