[FFmpeg-devel] [PATCH 2/7] avfilter/split: consume all frames before forwarding inlink status

Nicolas George george at nsup.org
Wed Jun 18 14:39:53 EEST 2025


Marton Balint (HE12025-06-17):
> Signed-off-by: Marton Balint <cus at passwd.hu>
> ---
>  libavfilter/split.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavfilter/split.c b/libavfilter/split.c
> index bf004358d8..0557f54cce 100644
> --- a/libavfilter/split.c
> +++ b/libavfilter/split.c
> @@ -98,6 +98,7 @@ static int activate(AVFilterContext *ctx)
>          av_frame_free(&in);
>          if (ret < 0)
>              return ret;
> +        return 0;
>      }
>  
>      if (ff_inlink_acknowledge_status(inlink, &status, &pts)) {

LGTM, good catch.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-devel mailing list