ffmpeg | branch: master | Jun Zhao <barryjz...@tencent.com> | Fri Sep 13 
19:53:36 2019 +0800| [90a5bebd19ea025044f73edfa9984e7bc964a5eb] | committer: 
Steven Liu

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 <l...@onvideo.cn>
Signed-off-by: Jun Zhao <barryjz...@tencent.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=90a5bebd19ea025044f73edfa9984e7bc964a5eb
---

 libavformat/hls.c | 1 -
 1 file changed, 1 deletion(-)

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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to