From patchwork Sat Aug 17 08:13:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 51055 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a59:b6ca:0:b0:48e:c0f8:d0de with SMTP id s10csp881778vqj; Sat, 17 Aug 2024 01:14:37 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCV1YDOOHqCDAewsT5f+CvWNL3K19hqKw+i+g3Hthh2HHuzHtNNdQsCBqJHjt+xxSj8L96IBJzkAsu8f7yIUVheE@gmail.com X-Google-Smtp-Source: AGHT+IFEVpWaxJM6dZN8lDt31XIKOU5AW8Ie935fRv/3OnUhRNT8C3MLuCtvLsxyi7o6BoZ8Te5D X-Received: by 2002:a05:6402:1ed5:b0:5a1:efd1:ca1e with SMTP id 4fb4d7f45d1cf-5beca52de46mr2218920a12.2.1723882476920; Sat, 17 Aug 2024 01:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1723882476; cv=none; d=google.com; s=arc-20160816; b=pVOKMAD79ga8EcGMfIrL4BU++EWfeIhwlCiRcOr6jnI1fGTzHRGVUXYCEffCK0hRTP ymoDQg2jquodm6M8sa8TSfwVA+PHniNUwd1IrHYNDcA/GAf//7dlPDnZ1SUxJDpm2ybk 9W5gIPRLiau/SUJzmPIoZlYx49+HQ7R1NDQ5+xkhFQILqyD1D21NlHug0bwlzRU589vg PIvbj7822tAtTvRkd0uqUvaAdknCSNMJvRJf68GVS8opvnANJQsEnAxp1uN60VQVDDHq p40Zg946XO0aAwhfYY70Yf6hvlfJYAgNuvD8GnDgFg4q6djPsBw9ggNqRvTl+yHiQBn8 7ziw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=GXnvGvvWNCusqRSqKFONgxzuDrqph/VQb+ebxIDfoZA=; fh=YOA8vD9MJZuwZ71F/05pj6KdCjf6jQRmzLS+CATXUQk=; b=yZ4EjZM+wDS9lnRbT/M39a7iosDEd6hPRNrbR8QmthJQknnX3lw1KgsdlMZviLNgY1 TEFEAu3UDPNnginQBWcFy1ogUD1hrwsL7bKYhCjjenGczz/PLVihY4ROQ1JgbHYPUvuM OJ/zbrbf+NnMOSxVrOeGUCp9M4QZnQk/kz91rEkvMEdBBieMslmxJf/EjpEkrETLP9L3 CFaHnfQfXJIgW7uUKSxSUL/IqSScHeqQN/1LH/GohjwQiDRZgyatbNQF2sKntGB00OIL 6FbiYiyJ3GyvYzBAfMJN3dOCP+PEAm/DcwJJqTJS3zzhL5RcqQYR7lWN64p4H9gle1aJ 626w==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@khirnov.net header.s=mail header.b=YZxVcROJ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 4fb4d7f45d1cf-5becc3d8fd8si1981474a12.439.2024.08.17.01.14.36; Sat, 17 Aug 2024 01:14:36 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@khirnov.net header.s=mail header.b=YZxVcROJ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id B038668DCF2; Sat, 17 Aug 2024 11:14:17 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail1.khirnov.net (quelana.khirnov.net [94.230.150.81]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B2D0668DCC0 for ; Sat, 17 Aug 2024 11:14:08 +0300 (EEST) Authentication-Results: mail1.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=YZxVcROJ; dkim-atps=neutral Received: from localhost (mail1.khirnov.net [IPv6:::1]) by mail1.khirnov.net (Postfix) with ESMTP id E99784E02 for ; Sat, 17 Aug 2024 10:14:07 +0200 (CEST) Received: from mail1.khirnov.net ([IPv6:::1]) by localhost (mail1.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id CJLUJzS-blqG for ; Sat, 17 Aug 2024 10:14:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1723882446; bh=AiNuD5iY8f1+WzWIna0DsYzVYCSUS0qLHgwVcNIQ9lo=; h=From:To:Subject:Date:In-Reply-To:References:From; b=YZxVcROJ56jEmXx9zO7A39iyMqAqXd6dshzQKa9hCxrHDP3lFZdfWBxRU/k3n7IIX C1af/XR/h667J9w7RIwNvzweHPXbAjYoKRHhRm9bpYf4W6pRdny6hH3Vascmn0YyeR AxP/9HXXBrAhOpacHenSs874CXA5XQFBPejhZZPMKmQzbhUpn0pDNVWR5coYPj9MBb Sgt6343x0XgIUhoYiL4ho+YYJIS2DjxS/o4uSvN36QfQin47a0dTXcCLG4M1efrB4n 0G9H3uN+/gKrSqcJS5QRVPx21yYyQixoB+2hFzS00/Vlkra91S0cpWBkicBNjZD2eQ mCB4TPYBVmSlQ== Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail1.khirnov.net (Postfix) with ESMTPS id 9D6844DEC for ; Sat, 17 Aug 2024 10:14:06 +0200 (CEST) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 572D03A181F for ; Sat, 17 Aug 2024 10:14:00 +0200 (CEST) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Sat, 17 Aug 2024 10:13:55 +0200 Message-ID: <20240817081358.2354-5-anton@khirnov.net> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240817081358.2354-1-anton@khirnov.net> References: <20240817081358.2354-1-anton@khirnov.net> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/8] lavfi/f_streamselect: remove a no-op ff_filter_config_links() call X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: Q0+jr2zI375j 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); }