[FFmpeg-devel] [PATCH 2/3] hls: pass AVFormatContext flags to sub demuxer

wm4 nfxjfg at googlemail.com
Thu Mar 9 16:45:18 EET 2017


---
 libavformat/hls.c | 1 +
 1 file changed, 1 insertion(+)

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;
-- 
2.11.0



More information about the ffmpeg-devel mailing list