mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-03-01 09:16:00 +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) {
|
||||
FFSWAP(AVIOContext *, v->input, v->input_next);
|
||||
v->cur_seg_offset = 0;
|
||||
v->input_next_requested = 0;
|
||||
ret = 0;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user