mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-02 04:52:09 +00:00
Merge commit 'c11e33a3d9665dd1fc5dbdecdd03a4860ac6a622'
* commit 'c11e33a3d9665dd1fc5dbdecdd03a4860ac6a622': hls: Set stream offset before opening a chained demuxer Conflicts: libavformat/hls.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
2f9e97b32a
@ -572,11 +572,10 @@ static int hls_read_header(AVFormatContext *s)
|
||||
goto fail;
|
||||
}
|
||||
v->ctx->pb = &v->pb;
|
||||
v->stream_offset = stream_offset;
|
||||
ret = avformat_open_input(&v->ctx, v->segments[0]->url, in_fmt, NULL);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
|
||||
v->stream_offset = stream_offset;
|
||||
v->ctx->ctx_flags &= ~AVFMTCTX_NOHEADER;
|
||||
ret = avformat_find_stream_info(v->ctx, NULL);
|
||||
if (ret < 0)
|
||||
|
Loading…
Reference in New Issue
Block a user