diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-08 22:42:31 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-08 22:42:31 +0000 |
commit | c407b9b070d57361f888228037b7b9ce712dc6e2 (patch) | |
tree | 103952aef58501e14a88affb4e4696bc0dc7a6f7 /stream/url.h | |
parent | bb52578528a95fffaa250b756c6366452ab28477 (diff) | |
download | mpv-c407b9b070d57361f888228037b7b9ce712dc6e2.tar.bz2 mpv-c407b9b070d57361f888228037b7b9ce712dc6e2.tar.xz |
Support URL redirections that do not specify full URL.
Fixes crash with mplayer -playlist http://www.radioseven.se/radioseven.pls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20800 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/url.h')
-rw-r--r-- | stream/url.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/url.h b/stream/url.h index e344e75c85..1c2db9191a 100644 --- a/stream/url.h +++ b/stream/url.h @@ -19,6 +19,7 @@ typedef struct { char *password; } URL_t; +URL_t *url_redirect(URL_t **url, const char *redir); URL_t* url_new(const char* url); void url_free(URL_t* url); |