[FFmpeg-devel] [PATCH 1/3] concatdec: pass AVFormatContext flags to sub demuxer

Steven Liu lingjiujianke at gmail.com
Thu Mar 9 16:48:52 EET 2017


2017-03-09 22:45 GMT+08:00 wm4 <nfxjfg at googlemail.com>:

> ---
>  libavformat/concatdec.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
> index 5cc239a1b6..8649916ff2 100644
> --- a/libavformat/concatdec.c
> +++ b/libavformat/concatdec.c
> @@ -322,6 +322,7 @@ static int open_file(AVFormatContext *avf, unsigned
> fileno)
>      if (!cat->avf)
>          return AVERROR(ENOMEM);
>
> +    cat->avf->flags |= avf->flags;
>      cat->avf->interrupt_callback = avf->interrupt_callback;
>
>      if ((ret = ff_copy_whiteblacklists(cat->avf, avf)) < 0)
> --
> 2.11.0
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

LGTM


More information about the ffmpeg-devel mailing list