ffmpeg | branch: master | schenk michael <michael.sch...@albistechnologies.com> 
| Fri Jun 26 06:20:34 2015 +0200| [b9161ef052314813fc7ffa9af5c33315630f3479] | 
committer: Michael Niedermayer

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

Signed-off-by: Michael Niedermayer <michae...@gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b9161ef052314813fc7ffa9af5c33315630f3479
---

 libavformat/hls.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/hls.c b/libavformat/hls.c
index 3f1d97e..6d14d6b 100644
--- a/libavformat/hls.c
+++ b/libavformat/hls.c
@@ -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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to