Mercurial > libavformat.hg
diff rtsp.c @ 5775:7a123cc24a81 libavformat
Rename url_split to ff_url_split
Since this function isn't in the public API, it should have an ff_ prefix.
author | mstorsjo |
---|---|
date | Mon, 08 Mar 2010 09:03:25 +0000 |
parents | a292ef47e2f9 |
children | d34f985d6e8f |
line wrap: on
line diff
--- a/rtsp.c Mon Mar 08 03:46:37 2010 +0000 +++ b/rtsp.c Mon Mar 08 09:03:25 2010 +0000 @@ -446,7 +446,7 @@ 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 @@ 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;