aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-03-09 15:43:08 +0100
committerwm4 <nfxjfg@googlemail.com>2017-03-09 16:24:00 +0100
commit597c6b789efb8d3eec200eb4f38a3d8da591deec (patch)
tree2fa688993be758d473b4d52a587ed8c23aaa050f /libavformat
parentf5da453b068f55d335ca403d2e2b4dd2ac3d4331 (diff)
downloadffmpeg-597c6b789efb8d3eec200eb4f38a3d8da591deec.tar.gz
hls: pass AVFormatContext flags to sub demuxer
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/hls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 3ae3c7cc5c..c65a9f9e87 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1761,6 +1761,7 @@ static int hls_read_header(AVFormatContext *s)
}
pls->ctx->pb = &pls->pb;
pls->ctx->io_open = nested_io_open;
+ pls->ctx->flags |= s->flags;
if ((ret = ff_copy_whiteblacklists(pls->ctx, s)) < 0)
goto fail;