]> git.sesse.net Git - ffmpeg/commitdiff
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 3ae3c7cc5c03366d614813def91d6074ea3e6798..c65a9f9e87b03c588f266827716638ced1a34fc0 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;