Commit f37bfd3f authored by Marvin Scholz's avatar Marvin Scholz Committed by James Almer

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: 's avatarLiu Steven <lq@chinaffmpeg.org>
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent c3bb6efe
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment