https://patchwork.ffmpeg.org/patch/13388/
reference this patch.

> 在 2019年6月14日,上午9:35,Jun Zhao <mypopy...@gmail.com> 写道:
> 
> From: Jun Zhao <barryjz...@tencent.com>
> 
> Save and forward more avio options same as HLS demuxer
> 
> Signed-off-by: Jun Zhao <barryjz...@tencent.com>
> ---
> libavformat/dashdec.c |    4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
> index 2c50f23..446825d 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;
> +    static const char * const opts[] = {
> +        "headers", "http_proxy", "user_agent", "cookies", "referer", 
> "rw_timeout", NULL };
> +    const char * const * opt = opts;
>     uint8_t *buf = NULL;
>     int ret = 0;
> 
> -- 
> 1.7.1
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".



_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to