From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 464BB49144 for ; Mon, 8 Jul 2024 22:24:30 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F010368DC13; Tue, 9 Jul 2024 01:24:22 +0300 (EEST) Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3F4A768DA2B for ; Tue, 9 Jul 2024 01:24:13 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 73BCC1C0002 for ; Mon, 8 Jul 2024 22:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1720477452; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fFDt9peNAidf4ZJptH5yVrwvHgYMgvbKAFwjMPeCu08=; b=l9C6meF8DkY5MSOWmB13rk6dFSDdpzCcic59KOm/DklkIX0IRqBnl4lcOiyfVSUOMe/AEU n4GsX0s0rv8BC3TvgXXrWXgXYAumEA771xTTatO5XpgxkAlO4FpKZ7B0dY/IY/YCnuCw6i DBo1KDziZlSz/UPup0AdBxHR7bBTWwvhZeEVYZa1jkb7j3pw/xiFycYbElULdTZUr2G13V jtbSDCtgrqibJKc2PgSe5+TV6p0R40g1ehlrI0r8GLonDZpTT/DeYpE6ASGpvBIGTxdgp2 oahO2n0cRKop4p/oC1k8IG2ipQxROjiNvxY9TLtLdtqeEb4UEpKCK6iCiQCiLg== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Tue, 9 Jul 2024 00:24:04 +0200 Message-ID: <20240708222410.773456-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240708222410.773456-1-michael@niedermayer.cc> References: <20240708222410.773456-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 2/8] avfilter/vf_fftfilt: Remove dead depth code 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: Fixes: CID1509373 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavfilter/vf_fftfilt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/vf_fftfilt.c b/libavfilter/vf_fftfilt.c index 1ffbe02ec41..af0e1f51d24 100644 --- a/libavfilter/vf_fftfilt.c +++ b/libavfilter/vf_fftfilt.c @@ -382,11 +382,9 @@ static int config_props(AVFilterLink *inlink) if (s->depth <= 8) { s->rdft_horizontal = rdft_horizontal8; s->irdft_horizontal = irdft_horizontal8; - } else if (s->depth > 8) { + } else { s->rdft_horizontal = rdft_horizontal16; s->irdft_horizontal = irdft_horizontal16; - } else { - return AVERROR_BUG; } return 0; } -- 2.45.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".