You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/hlsenc: Minor fix in setting http options for master playlist
This commit is contained in:
@@ -1089,8 +1089,7 @@ static int create_master_playlist(AVFormatContext *s,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hls->user_agent)
|
set_http_options(s, &options, hls);
|
||||||
av_dict_set(&options, "user-agent", hls->user_agent, 0);
|
|
||||||
|
|
||||||
ret = s->io_open(s, &master_pb, hls->master_m3u8_url, AVIO_FLAG_WRITE,\
|
ret = s->io_open(s, &master_pb, hls->master_m3u8_url, AVIO_FLAG_WRITE,\
|
||||||
&options);
|
&options);
|
||||||
|
Reference in New Issue
Block a user