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 16E5F48992 for ; Fri, 22 Dec 2023 03:33:02 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 6AA6468D21B; Fri, 22 Dec 2023 05:32:59 +0200 (EET) Received: from relay7-d.mail.gandi.net (relay7-d.mail.gandi.net [217.70.183.200]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3F64968D0A6 for ; Fri, 22 Dec 2023 05:32:52 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1CB6020003 for ; Fri, 22 Dec 2023 03:32:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1703215971; 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=oMRGmF5cOhNlrYFxphqy0k4Dzbnum1f9omIOZSpX/G0=; b=ndR181ut6u8BzbWe/hgg0KOMzjRajFfhQjSkzbpGJvJxvVzg/YLMK0TLhzmIMjtausDhnf LLcRcU2cl2RI93kdieryA647pW5ysZfQNQBxmtf7XbYgMDsCy50cxQkDDrpzGWtYrGU4I8 WUuSzgMKIS+JAcv5sICJnCreljAWoSfrqMCzJaZ8Gaz8jRQvy79KuF57C9DKumGayXDGir wad24GeMJhUFvT9wpnATKHPYum0JcKhbEZ6aEsAclztYgT4jSLJ9DnAVmKD1VdbFgjmGw1 B+F7Lh4i4kZTBHu/rifQ509fQ2Y1Ua9yyPgS7EUbQS1nvX7x5c8Uz45LTDTVkw== Date: Fri, 22 Dec 2023 04:32:50 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20231222033250.GG6420@pb2> References: <20231202155352.4680-1-anton@khirnov.net> <5211be404405e6d454d7d48e385d6057d1ea21d6.camel@haerdin.se> <584f952e5d3a56615f12426276bc1d05f81a0e49.camel@haerdin.se> <20231220191158.GA6420@pb2> <55c8f48079b6956621df72c0e230037ba20be286.camel@haerdin.se> MIME-Version: 1.0 In-Reply-To: <55c8f48079b6956621df72c0e230037ba20be286.camel@haerdin.se> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH] lavc: remove the QOA decoder 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="===============6036340237074860110==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============6036340237074860110== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KiOS11rrlPLUJaFM" Content-Disposition: inline --KiOS11rrlPLUJaFM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 21, 2023 at 08:43:16PM +0100, Tomas H=E4rdin wrote: > ons 2023-12-20 klockan 20:11 +0100 skrev Michael Niedermayer: > > On Wed, Dec 20, 2023 at 05:57:40PM +0100, Tomas H=E4rdin wrote: > > > tis 2023-12-19 klockan 15:02 +0100 skrev Nicolas George: > > [...] > > > [...] , but every line of code > > > carries with it a non-zero maintenance burden > >=20 > > Assuming you mean with "non-zero" a "larger than zero" maintenance > > burden > >=20 > > then we can proof this to be false >=20 > Doubt ok i seem to have said, "we". So lets do this together :) heres an example (code by Dave Burton, not by me) int main(int b,char**i){long long n=3DB,a=3DI^n,r=3D(a/b&a)>>4,y=3Datoi(*++= i),_=3D(((a^n/b)*(y>>T)|y>>S)&r)|(a^r);printf("%.8s\n",(char*)&_);} clang -include stdio.h -include stdlib.h -Wall -Weverything -pedantic -DB= =3D6945503773712347754LL -DI=3D5859838231191962459LL -DT=3D0 -DS=3D7 -o pro= g prog.c try =2E/prog 1 =2E/prog 2 =2E/prog 3 =2E.. Can you think of a way to add some lines of code to this that makes it more= maintainable ? if yes, then i think you proofed that adding code can reduce maintaince bur= den thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many that live deserve death. And some that die deserve life. Can you give it to them? Then do not be too eager to deal out death in judgement. For even the very wise cannot see all ends. -- Gandalf --KiOS11rrlPLUJaFM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZYUDXgAKCRBhHseHBAsP qzsgAJoCCFiS+OyrS4+9vGC1zHPwV+kdNwCfSLqFTKMRHvZZRcC1udTlDFK/IUA= =dtYR -----END PGP SIGNATURE----- --KiOS11rrlPLUJaFM-- --===============6036340237074860110== 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". --===============6036340237074860110==--