hls: pass AVFormatContext flags to sub demuxer
authorwm4 <nfxjfg@googlemail.com>
Thu, 9 Mar 2017 14:43:08 +0000 (15:43 +0100)
committerwm4 <nfxjfg@googlemail.com>
Thu, 9 Mar 2017 15:24:00 +0000 (16:24 +0100)
libavformat/hls.c

index 3ae3c7c..c65a9f9 100644 (file)
@@ -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;