diff options
author | vectronic <hello.vectronic@gmail.com> | 2019-10-04 23:04:12 +0100 |
---|---|---|
committer | Steven Liu <lq@chinaffmpeg.org> | 2019-10-08 14:58:47 +0800 |
commit | e149be38a86fbb81fb3313c8a86a819baa42c9eb (patch) | |
tree | 9e93a4a28ae812352a38684a4796e3fe4a768279 /libavformat/hls.c | |
parent | b21c5ef501d13fdebea42eca8437af67dfe2d481 (diff) | |
download | ffmpeg-e149be38a86fbb81fb3313c8a86a819baa42c9eb.tar.gz |
avformat/hls: fix missing segment offset reset on last segment when http_multiple is enabled.
Reviewed-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: vectronic <hello.vectronic@gmail.com>
Diffstat (limited to 'libavformat/hls.c')
-rw-r--r-- | libavformat/hls.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 { |