ffmpeg | branch: master | Steven Liu <l...@chinaffmpeg.org> | Mon Jun  3 
17:03:41 2019 +0800| [aea524e6e325ff27e4cd0d98212fc5b335c1af48] | committer: 
Steven Liu

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

Signed-off-by: Steven Liu <l...@chinaffmpeg.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=aea524e6e325ff27e4cd0d98212fc5b335c1af48
---

 libavformat/dashdec.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
index 2c50f23c06..6b73da62fa 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;
+    const char *opts[] = {
+        "headers", "user_agent", "cookies", "http_proxy", "referer", 
"rw_timeout", NULL };
+    const char **opt = opts;
     uint8_t *buf = NULL;
     int ret = 0;
 

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

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

Reply via email to