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 C3DEE4813B for ; Fri, 10 May 2024 14:07:27 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3DFCC68D4AE; Fri, 10 May 2024 17:07:15 +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 8C7F068D33D for ; Fri, 10 May 2024 17:07:08 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id C27F460007 for ; Fri, 10 May 2024 14:07:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1715350027; 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=khA1OJKs0ukXtzEysl//mI09o8Xg9ntyS1cGGAmYIJ4=; b=gnTsrrFP+wffMUEUn6moRXweIGpinJlHEATHwlV/MiM8rHpaHuvHpUz1ESReMVJEWpAS4Q aAlbqkEd9E1VuT8/+6yj2IfdduMnnju5OuHdfxVWYi2GUVFWBhYW15GAE+Xge408W6lZ3j IPMxHNtHASDkXsDPTAqrotihaSbrAhwO7mmbP0GP9YCfATGpTvo7pELzbXEPMviXYEERB8 Wu9OlkxG68kEakCvcbrhkN6rINz7YNkpHxtza8hPmwneVlqyJ6xJgwsIyvaBeIB1GX/ov6 dztIzG3h1BmKWE7u1U2p9EhKvlMboJVBbtvS62H/Kj67rKIGvLMFbtKlC8yycw== From: Michael Niedermayer To: FFmpeg development discussions and patches Date: Fri, 10 May 2024 16:07:04 +0200 Message-ID: <20240510140705.443047-2-michael@niedermayer.cc> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240510140705.443047-1-michael@niedermayer.cc> References: <20240510140705.443047-1-michael@niedermayer.cc> MIME-Version: 1.0 X-GND-Sasl: michael@niedermayer.cc Subject: [FFmpeg-devel] [PATCH 2/3] avcodec/jpeg2000dec: remove ST=3 case 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: CID1460979 Logically dead code Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/jpeg2000dec.c b/libavcodec/jpeg2000dec.c index 28bf6be2fef..135537b52fb 100644 --- a/libavcodec/jpeg2000dec.c +++ b/libavcodec/jpeg2000dec.c @@ -835,9 +835,6 @@ static int get_tlm(Jpeg2000DecoderContext *s, int n) case 2: bytestream2_get_be16(&s->g); break; - case 3: - bytestream2_get_be32(&s->g); - break; } if (SP == 0) { bytestream2_get_be16(&s->g); -- 2.43.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".