mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-27 01:42:20 +00:00
avformat/hlsenc: Minor fix in setting http options for master playlist
This commit is contained in:
parent
ef8979f199
commit
f335efc0ad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user