After finishing the last file all durations and start times should be known.

Signed-off-by: Marton Balint <c...@passwd.hu>
---
 libavformat/concatdec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index bbe13136fa..a5883ec66e 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -525,6 +525,7 @@ static int open_next_file(AVFormatContext *avf)
 
     if (++fileno >= cat->nb_files) {
         cat->eof = 1;
+        cat->seekable = 1;
         return AVERROR_EOF;
     }
     return open_file(avf, fileno);
-- 
2.16.4

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

Reply via email to