[FFmpeg-devel] [PATCH] Fix for Incorrect Parameter in ff_filter_config_links Function Call

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Fri Mar 8 14:19:22 EET 2024


admin at shaoxia.xyz:
> From: 联盟少侠 <admin at shaoxia.xyz>
> 
> src/libavfilter/internal.h:255:45: note: passing argument to parameter 'filter' here
> int ff_filter_config_links(AVFilterContext *filter);
> ---
>  libavfilter/avfilter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
> index 596a139..c323ebb 100644
> --- a/libavfilter/avfilter.c
> +++ b/libavfilter/avfilter.c
> @@ -214,7 +214,7 @@ void avfilter_link_free(AVFilterLink **link)
>  }
>  int avfilter_config_links(AVFilterContext *filter)
>  {
> -    return ff_filter_config_links(EINVAL);
> +    return ff_filter_config_links(filter);
>  }
>  #endif
>  

Applied with a reworded commit title. Thanks.

- Andreas



More information about the ffmpeg-devel mailing list