Commit e149be38 authored by vectronic's avatar vectronic Committed by Steven Liu

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

Reviewed-by: 's avatarSteven Liu <lq@onvideo.cn>
Signed-off-by: 's avatarvectronic <hello.vectronic@gmail.com>
parent b21c5ef5
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment