[FFmpeg-cvslog] avfilter/avfilter: Fix for Incorrect Parameter in ff_filter_config_links

联盟少侠 git at videolan.org
Fri Mar 8 14:13:02 EET 2024


ffmpeg | branch: master | 联盟少侠 <admin at shaoxia.xyz> | Fri Mar  8 19:59:12 2024 +0800| [e6d933404ff1085b6c4ec031f736b1bee6e46b57] | committer: Andreas Rheinhardt

avfilter/avfilter: Fix for Incorrect Parameter in ff_filter_config_links

src/libavfilter/internal.h:255:45: note: passing argument to parameter 'filter' here
int ff_filter_config_links(AVFilterContext *filter);

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e6d933404ff1085b6c4ec031f736b1bee6e46b57
---

 libavfilter/avfilter.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 596a1394fd..c323ebb4b8 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
 



More information about the ffmpeg-cvslog mailing list