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 851AD4B275 for ; Tue, 2 Jul 2024 19:23:20 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EE4F368D97D; Tue, 2 Jul 2024 22:23:18 +0300 (EEST) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 99EF368D8F6 for ; Tue, 2 Jul 2024 22:23:12 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 07C6BFF802 for ; Tue, 2 Jul 2024 19:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1719948192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=JYx+2zvIqxVK6KNYnA8Th52j3AzPUhFkw3gn3LKCMuw=; b=j8qb8iFkUtLu9z/qXghewlz+cfBedvKWW1tCoZLs2beLPWTqDomO5KxxCyKD44PO4fuR9B kV17RGhIPU8RSTN1lyYvOAdyKNf6Lo2PwMBHcuzNw7IfgoqV1UW1KUoW1YdJ1Ssc0xjL9L 7/UWHI8eJjhDMSCC8X/GmMf6zusT3CwpCnMWFHNg/dnXFBeXxTyEUvJxV/nDi2N8NrrmJu LK2dHtSielj7iye1AXE0Xk/JHW7zdqR+C4m8t6rsjJ9SAqiRVT4YezGcsNoQ93dJvS1YxS tHBCWUot4eb89BpmW1s07SwEv+l+wqqSMEoYNbHQJ+rR9bNpxpUfwm6HHY4YGA== Date: Tue, 2 Jul 2024 21:23:10 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240702192310.GY4991@pb2> References: <20240607003215.1723906-1-michael@niedermayer.cc> <20240607003215.1723906-4-michael@niedermayer.cc> <4663781415d5d0f62b4999c17c580df6b9160ded.camel@haerdin.se> MIME-Version: 1.0 In-Reply-To: <4663781415d5d0f62b4999c17c580df6b9160ded.camel@haerdin.se> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [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: multipart/mixed; boundary="===============6477693501219095964==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6477693501219095964== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="w47z9evyjOavafUr" Content-Disposition: inline --w47z9evyjOavafUr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 18, 2024 at 04:32:18PM +0200, Tomas H=E4rdin wrote: > fre 2024-06-07 klockan 02:32 +0200 skrev Michael Niedermayer: > > Fixes: CID1524681 Logically dead code > >=20 > > Sponsored-by: Sovereign Tech Fund > > Signed-off-by: Michael Niedermayer > > --- > > =A0libavformat/mxfenc.c | 3 --- > > =A01 file changed, 3 deletions(-) > >=20 > > 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) > > =A0=A0=A0=A0=A0=A0=A0=A0 ff_build_rac_states(&c, 0.05 * (1LL << 32), 25= 6 - 8); > > =A0=A0=A0=A0=A0=A0=A0=A0 v =3D get_ffv1_unsigned_symbol(&c, state); > > =A0=A0=A0=A0=A0=A0=A0=A0 av_assert0(v >=3D 2); > > -=A0=A0=A0=A0=A0=A0=A0 if (v > 4) { > > -=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 return 0; > > -=A0=A0=A0=A0=A0=A0=A0 } > > =A0=A0=A0=A0=A0=A0=A0=A0 if (v > 4) { > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 av_log(s, AV_LOG_ERROR, "unsupport= ed ffv1 version %d\n", > > v); > > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 return 0; >=20 > Commit message isn't quite accurate - this rather resurrects the error > print right will apply with a better commit message thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There will always be a question for which you do not know the correct answe= r. --w47z9evyjOavafUr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZoRTngAKCRBhHseHBAsP q4ynAJ4gn/xcm5vKtQIN2HHBpbBsBvcVgQCfc/CC34LaEHpuvlmZMZZb89uIs2E= =RjjL -----END PGP SIGNATURE----- --w47z9evyjOavafUr-- --===============6477693501219095964== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============6477693501219095964==--