[FFmpeg-devel] [PATCH 5/8] lavfi/f_streamselect: remove a no-op ff_filter_config_links() call

Anton Khirnov anton at khirnov.net
Sat Aug 17 11:13:55 EEST 2024


It does not do anything when the links are already configured.
---
 libavfilter/f_streamselect.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c
index 07d55a7506..ecdcc7f269 100644
--- a/libavfilter/f_streamselect.c
+++ b/libavfilter/f_streamselect.c
@@ -249,7 +249,7 @@ static int process_command(AVFilterContext *ctx, const char *cmd, const char *ar
 
         if (ret < 0)
             return ret;
-        return ff_filter_config_links(ctx);
+        return 0;
     }
     return AVERROR(ENOSYS);
 }
-- 
2.43.0



More information about the ffmpeg-devel mailing list