diff --git a/libavformat/hls.c b/libavformat/hls.c index 4a7d003f72..451b78eb98 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1087,7 +1087,8 @@ reload: if (ret < 0) { av_log(v->parent, AV_LOG_WARNING, "Failed to open segment of playlist %d\n", v->index); - return ret; + v->cur_seq_no += 1; + goto reload; } just_opened = 1; }