diff options
author | Marvin Scholz <epirat07@gmail.com> | 2019-12-17 01:45:04 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-27 14:58:51 -0300 |
commit | f37bfd3f62899d5aa1460b0d206a32a602e1c9ff (patch) | |
tree | 13561347c56f902e63fb173b890a612eeb81f1a6 /libavformat/dashdec.c | |
parent | c3bb6efef285adb8ca06278df15473f3c4d5aec5 (diff) |
avformat/dashdec: propagate icy to child AVIOContexts
When the user decides they do not want to to send the Icy-MetaData
header, this should be respected for all requests, not just the first
one.
Fix #5578
Reviewed-by: Liu Steven <lq@chinaffmpeg.org>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat/dashdec.c')
-rw-r--r-- | libavformat/dashdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 72ba9605f0..15e79fd51a 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c @@ -1851,7 +1851,7 @@ static int save_avio_options(AVFormatContext *s) { DASHContext *c = s->priv_data; const char *opts[] = { - "headers", "user_agent", "cookies", "http_proxy", "referer", "rw_timeout", NULL }; + "headers", "user_agent", "cookies", "http_proxy", "referer", "rw_timeout", "icy", NULL }; const char **opt = opts; uint8_t *buf = NULL; int ret = 0; |