summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorSteven Liu <lq@chinaffmpeg.org>2019-06-03 17:03:41 +0800
committerSteven Liu <lq@chinaffmpeg.org>2019-06-14 10:53:26 +0800
commitaea524e6e325ff27e4cd0d98212fc5b335c1af48 (patch)
tree566da6d7ec8f1eaeb3d135f07377d659bb9cbe87 /libavformat
parentfa7a6dbd7607ba34fba696b6b5a16a7b137ca96f (diff)
avformat/dashdec: add http_proxy, referer and rw_timeout http method support for segments
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dashdec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 2c50f23c06..6b73da62fa 100644
--- a/libavformat/dashdec.c
+++ b/libavformat/dashdec.c
@@ -1834,7 +1834,9 @@ end:
static int save_avio_options(AVFormatContext *s)
{
DASHContext *c = s->priv_data;
- const char *opts[] = { "headers", "user_agent", "cookies", NULL }, **opt = opts;
+ const char *opts[] = {
+ "headers", "user_agent", "cookies", "http_proxy", "referer", "rw_timeout", NULL };
+ const char **opt = opts;
uint8_t *buf = NULL;
int ret = 0;