diff options
author | Jun Zhao <barryjzhao@tencent.com> | 2019-09-13 19:53:36 +0800 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-09-14 10:01:19 +0800 |
commit | 90a5bebd19ea025044f73edfa9984e7bc964a5eb (patch) | |
tree | e22c38ad06e3e47a465b83c3fc58a0131bd25c26 /libavformat | |
parent | eada079e718f57f94a61d7331e09931e03cb4229 (diff) | |
download | ffmpeg-90a5bebd19ea025044f73edfa9984e7bc964a5eb.tar.gz |
lavf/hls: remove redundancy seekable setting
ffio_init_context with NULL seek callback will setting seekable with 0, so
remove the redundancy seekable setting.
Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/hls.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavformat/hls.c b/libavformat/hls.c index b32940b28d..bb07dcb96c 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1905,7 +1905,6 @@ static int hls_read_header(AVFormatContext *s) } ffio_init_context(&pls->pb, pls->read_buffer, INITIAL_BUFFER_SIZE, 0, pls, read_data, NULL, NULL); - pls->pb.seekable = 0; ret = av_probe_input_buffer(&pls->pb, &in_fmt, pls->segments[0]->url, NULL, 0, 0); if (ret < 0) { |