mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 05:20:48 +00:00
hls: call avformat_find_stream_info()
This is needed to correctly demux h264 in ts Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
da62b4326b
commit
3005122485
@ -526,6 +526,10 @@ static int hls_read_header(AVFormatContext *s)
|
||||
}
|
||||
v->ctx->pb = &v->pb;
|
||||
ret = avformat_open_input(&v->ctx, v->segments[0]->url, in_fmt, NULL);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
v->ctx->probesize = 0;
|
||||
ret = avformat_find_stream_info(v->ctx, NULL);
|
||||
if (ret < 0)
|
||||
goto fail;
|
||||
v->stream_offset = stream_offset;
|
||||
|
Loading…
Reference in New Issue
Block a user