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 C758B41187 for ; Fri, 7 Jun 2024 00:32:54 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5AE1468D743; Fri, 7 Jun 2024 03:32:28 +0300 (EEST) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3B72F68D609 for ; Fri, 7 Jun 2024 03:32:20 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 98AA860003 for ; Fri, 7 Jun 2024 00:32:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1717720339; 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=M1Iuz0WQdsAKsGs04/9x7JOx5Lmp/J9ondTZZprjd+E=; b=DOVMLpP0E4V3NzcKQE/kagGcKruk0i9uV8aopdTX3Qa37EudT2YY4lE9PW8ZWH6ZDRTk2C Nmc6+tpg3jUvMUZGPkl2TqwFq9hpwKfTxaWk9MMDa3ksl3FkcMV5ks/s+zn/SgScXkq6Hz BewVmR21wsa/l0LkO4zU/Lg7x47rpnG6+PeyYXwmYpy24w/D3kwN1heSqUw+bAOQ6KVrNF YYcLDrwwqCnPYwoA99fUhQPzf1s9Bgf836lbiAFII4vznQrQAgZJZSkP5ialN8/p4z5Cnd 3UYtiBfcvqRgrE5Zohdc51OjdDqL5xghH0R9DAnGL/r8LcL+HWu6uVnisLSeDQ== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 7 Jun 2024 02:32:14 +0200 Message-ID: <20240607003215.1723906-4-michael@niedermayer.cc> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240607003215.1723906-1-michael@niedermayer.cc> References: <20240607003215.1723906-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 4/5] avformat/mxfenc: Remove dead 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: CID1524681 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/mxfenc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index f424858fc4e..b8e7bfe3018 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -2606,9 +2606,6 @@ static int mxf_parse_ffv1_frame(AVFormatContext *s, AVStream *st, AVPacket *pkt) ff_build_rac_states(&c, 0.05 * (1LL << 32), 256 - 8); v = get_ffv1_unsigned_symbol(&c, state); av_assert0(v >= 2); - if (v > 4) { - return 0; - } if (v > 4) { av_log(s, AV_LOG_ERROR, "unsupported ffv1 version %d\n", v); 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".