git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef8979f
)
avformat/hlsenc: Minor fix in setting http options for master playlist
author
Karthick J
<kjeyapal@akamai.com>
Thu, 23 Nov 2017 22:41:25 +0000
(06:41 +0800)
committer
Steven Liu
<lq@chinaffmpeg.org>
Thu, 23 Nov 2017 22:41:25 +0000
(06:41 +0800)
libavformat/hlsenc.c
patch
|
blob
|
history
diff --git
a/libavformat/hlsenc.c
b/libavformat/hlsenc.c
index
3c47ced
..
525605b
100644
(file)
--- a/
libavformat/hlsenc.c
+++ b/
libavformat/hlsenc.c
@@
-1089,8
+1089,7
@@
static int create_master_playlist(AVFormatContext *s,
return 0;
}
- if (hls->user_agent)
- av_dict_set(&options, "user-agent", hls->user_agent, 0);
+ set_http_options(s, &options, hls);
ret = s->io_open(s, &master_pb, hls->master_m3u8_url, AVIO_FLAG_WRITE,\
&options);