mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-31 15:49:57 +00:00
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>
This commit is contained in:
parent
b21c5ef501
commit
e149be38a8
@ -1449,6 +1449,7 @@ reload:
|
|||||||
|
|
||||||
if (c->http_multiple == 1 && v->input_next_requested) {
|
if (c->http_multiple == 1 && v->input_next_requested) {
|
||||||
FFSWAP(AVIOContext *, v->input, v->input_next);
|
FFSWAP(AVIOContext *, v->input, v->input_next);
|
||||||
|
v->cur_seg_offset = 0;
|
||||||
v->input_next_requested = 0;
|
v->input_next_requested = 0;
|
||||||
ret = 0;
|
ret = 0;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user