[FFmpeg-devel] [PATCH 1/4] avformat/concatdec: set seekable flag after opening the last file

Marton Balint cus at passwd.hu
Sun Dec 2 02:11:25 EET 2018



On Thu, 22 Nov 2018, Marton Balint wrote:

> After finishing the last file all durations and start times should be known.
>
> Signed-off-by: Marton Balint <cus at 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

Ping for the series...

Thanks,
Marton


More information about the ffmpeg-devel mailing list