summaryrefslogtreecommitdiff
path: root/libavformat/rtmphttp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rtmphttp.c')
-rw-r--r--libavformat/rtmphttp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtmphttp.c b/libavformat/rtmphttp.c
index 2577df95fd..4806872493 100644
--- a/libavformat/rtmphttp.c
+++ b/libavformat/rtmphttp.c
@@ -208,7 +208,7 @@ static int rtmp_http_open(URLContext *h, const char *uri, int flags)
}
/* alloc the http context */
- if ((ret = ffurl_alloc(&rt->stream, url, AVIO_FLAG_READ_WRITE, NULL)) < 0)
+ if ((ret = ffurl_alloc(&rt->stream, url, AVIO_FLAG_READ_WRITE, NULL, h->protocols)) < 0)
goto fail;
/* set options */