Mercurial > libavformat.hg
comparison gopher.c @ 6182:4fc5e0e4e1cd libavformat
Make ff_url_split() public
ff_url_split() is retained as an alias, as it was used by ffserver,
to avoid breaking ABI compatibility with it.
author | mru |
---|---|
date | Sun, 27 Jun 2010 14:16:46 +0000 |
parents | 7fdda2416684 |
children |
comparison
equal
deleted
inserted
replaced
6181:cb49c916b7f4 | 6182:4fc5e0e4e1cd |
---|---|
88 return AVERROR(ENOMEM); | 88 return AVERROR(ENOMEM); |
89 } | 89 } |
90 h->priv_data = s; | 90 h->priv_data = s; |
91 | 91 |
92 /* needed in any case to build the host string */ | 92 /* needed in any case to build the host string */ |
93 ff_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, | 93 av_url_split(NULL, 0, auth, sizeof(auth), hostname, sizeof(hostname), &port, |
94 path, sizeof(path), uri); | 94 path, sizeof(path), uri); |
95 | 95 |
96 if (port < 0) | 96 if (port < 0) |
97 port = 70; | 97 port = 70; |
98 | 98 |