Commit b9161ef0 authored by schenk michael's avatar schenk michael Committed by Michael Niedermayer

avformat/hls: do not iterate to next sequence number if interruption is requested

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d38bc636
......@@ -1085,6 +1085,8 @@ reload:
ret = open_input(c, v);
if (ret < 0) {
if (ff_check_interrupt(c->interrupt_callback))
return AVERROR_EXIT;
av_log(v->parent, AV_LOG_WARNING, "Failed to open segment of playlist %d\n",
v->index);
v->cur_seq_no += 1;
......
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