Commit 597c6b78 authored by wm4's avatar wm4

hls: pass AVFormatContext flags to sub demuxer

parent f5da453b
...@@ -1761,6 +1761,7 @@ static int hls_read_header(AVFormatContext *s) ...@@ -1761,6 +1761,7 @@ static int hls_read_header(AVFormatContext *s)
} }
pls->ctx->pb = &pls->pb; pls->ctx->pb = &pls->pb;
pls->ctx->io_open = nested_io_open; pls->ctx->io_open = nested_io_open;
pls->ctx->flags |= s->flags;
if ((ret = ff_copy_whiteblacklists(pls->ctx, s)) < 0) if ((ret = ff_copy_whiteblacklists(pls->ctx, s)) < 0)
goto fail; goto fail;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment