mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-02 21:01:56 +00:00
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>
This commit is contained in:
parent
c3bb6efef2
commit
f37bfd3f62
@ -1851,7 +1851,7 @@ static int save_avio_options(AVFormatContext *s)
|
|||||||
{
|
{
|
||||||
DASHContext *c = s->priv_data;
|
DASHContext *c = s->priv_data;
|
||||||
const char *opts[] = {
|
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;
|
const char **opt = opts;
|
||||||
uint8_t *buf = NULL;
|
uint8_t *buf = NULL;
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user