[FFmpeg-devel] [PATCH] avfillter/buffersrc: activate and EOF fix

Nicolas George george at nsup.org
Fri Oct 27 15:53:53 EEST 2023


Paul B Mahol (12023-10-27):
> Subject: [PATCH 1/2] avfilter/buffersrc: switch to activate
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/buffersrc.c | 25 ++++++++++++++++---------
>  1 file changed, 16 insertions(+), 9 deletions(-)

What would be the benefit?

>      if (s->eof)
> -        return AVERROR(EINVAL);
> +        return AVERROR_EOF;
>  

AVERROR_EOF does not have a semantic for writing, only for reading, so
no.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list