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

admin at shaoxia.xyz admin at shaoxia.xyz
Fri Mar 8 13:59:12 EET 2024


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
 
-- 
2.41.0.windows.3



More information about the ffmpeg-devel mailing list