1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avformat/dashdec: add http_proxy, referer and rw_timeout http method support for segments

Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
Steven Liu 2019-06-03 17:03:41 +08:00
parent fa7a6dbd76
commit aea524e6e3

View File

@ -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;