Merge remote-tracking branch 'qatar/master'
* qatar/master: hls: Call avformat_find_stream_info() on the chained demuxers Conflicts: libavformat/hls.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
95960027a5
@ -576,6 +576,7 @@ static int hls_read_header(AVFormatContext *s)
|
|||||||
ret = avformat_open_input(&v->ctx, v->segments[0]->url, in_fmt, NULL);
|
ret = avformat_open_input(&v->ctx, v->segments[0]->url, in_fmt, NULL);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
goto fail;
|
goto fail;
|
||||||
|
|
||||||
v->ctx->ctx_flags &= ~AVFMTCTX_NOHEADER;
|
v->ctx->ctx_flags &= ~AVFMTCTX_NOHEADER;
|
||||||
ret = avformat_find_stream_info(v->ctx, NULL);
|
ret = avformat_find_stream_info(v->ctx, NULL);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user