diff options
Diffstat (limited to 'libavformat/icecast.c')
-rw-r--r-- | libavformat/icecast.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/icecast.c b/libavformat/icecast.c index 22adbed..7823837 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -176,7 +176,8 @@ static int icecast_open(URLContext *h, const char *uri, int flags) // Build new URI for passing to http protocol ff_url_join(h_url, sizeof(h_url), "http", auth, host, port, "%s", path); // Finally open http proto handler - ret = ffurl_open(&s->hd, h_url, AVIO_FLAG_READ_WRITE, NULL, &opt_dict); + ret = ffurl_open(&s->hd, h_url, AVIO_FLAG_READ_WRITE, NULL, &opt_dict, + h->protocols); cleanup: // Free variables |