1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
schenk michael 2015-06-26 06:20:34 +02:00 committed by Michael Niedermayer
parent d38bc6361d
commit b9161ef052

View File

@ -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;