ffmpeg | branch: master | vectronic <hello.vectro...@gmail.com> | Fri Oct  4 
23:04:12 2019 +0100| [e149be38a86fbb81fb3313c8a86a819baa42c9eb] | committer: 
Steven Liu

avformat/hls: fix missing segment offset reset on last segment when 
http_multiple is enabled.

Reviewed-by: Steven Liu <l...@onvideo.cn>
Signed-off-by: vectronic <hello.vectro...@gmail.com>

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

 libavformat/hls.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index 336608fa2d..d7f4d5b442 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -1449,6 +1449,7 @@ reload:
 
         if (c->http_multiple == 1 && v->input_next_requested) {
             FFSWAP(AVIOContext *, v->input, v->input_next);
+            v->cur_seg_offset = 0;
             v->input_next_requested = 0;
             ret = 0;
         } else {

_______________________________________________
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