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 9AD0946069 for ; Tue, 2 May 2023 16:42:51 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3804668C189; Tue, 2 May 2023 19:42:49 +0300 (EEST) Received: from nef.ens.fr (unknown [129.199.96.40]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 3B16568C101 for ; Tue, 2 May 2023 19:42:41 +0300 (EEST) X-ENS-nef-client: 129.199.129.80 ( name = phare.normalesup.org ) Received: from phare.normalesup.org (phare.normalesup.org [129.199.129.80]) by nef.ens.fr (8.14.4/1.01.28121999) with ESMTP id 342Ggd7O030622 for ; Tue, 2 May 2023 18:42:39 +0200 Received: by phare.normalesup.org (Postfix, from userid 1001) id 96115EB5BF; Tue, 2 May 2023 18:42:39 +0200 (CEST) Date: Tue, 2 May 2023 18:42:39 +0200 From: Nicolas George To: FFmpeg development discussions and patches Message-ID: References: <20230428095508.221826-1-george@nsup.org> <11147228.GNNOHJTIDS@basile.remlab.net> MIME-Version: 1.0 In-Reply-To: <11147228.GNNOHJTIDS@basile.remlab.net> X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (nef.ens.fr [129.199.96.32]); Tue, 02 May 2023 18:42:39 +0200 (CEST) Subject: Re: [FFmpeg-devel] [PATCH 1/8] lavu: add macros to help making future-proof structures 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="===============5092847256735580504==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============5092847256735580504== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="zk8uVAue02h1dODg" Content-Disposition: inline --zk8uVAue02h1dODg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable R=E9mi Denis-Courmont (12023-05-02): > A JSON writer that requires forced alignment is a poorly-written JSON par= ser.=20 This JSON writer requires that the structures that contain its state are aligned, just like any other piece of C code. There is nothing poorly-written here. > This is reinventing standard max_align_t but with a more confusing name a= nd=20 > less portable implementation... I did not know it exists. Thanks for the pointer. > Indeed this is not about "padding", but about alignment. It is about both. Regards, --=20 Nicolas George --zk8uVAue02h1dODg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE6ooRQGBoNzw0KnwPcZVLI8pNxgwFAmRRPX0ACgkQcZVLI8pN xgzJPRAAocLUAsaKVdaK8e7WywGGIrrsB2DOf3zMDpQo5DNlC+N7Xhr0pmLBPweO npzbxv/IoepNKsS94FfuuJGUvMiZHm8NrrFxoclEzwvZJVlQKIOf5McSpFl9hNsP OindG7rCVNIGd65eIpfK3hru+fwZ9IbfSJBKvHz6nFfiPp0muhoJxppKINR5ZKWs bjeKcG+dMtLSCKXxqnhU2OkMEFeqhZS6S2XlkuOLdyuWBqSt7jSc/SDNkoLTrfYa gujqHF+HlybH18nRA1UyeZaNlg57FBm1L3Q1W9MFBG+qzMYIIBGPuHJhYImGeUL+ 358TJjmH+oX+5N4I83vJWha9Mehe4pZB646dUyEcs94wYL9R1TLYf/rsPvf2br1p V7ebEt2kN8WT5MO/mm46z/xQNYP3UZfJC4j/ePvt8ILw4duOZDdaRiyOa1Of6LCc zkEAHIPRGKnr2Ke3ouXDwUbTWZ0bCDIstXOH7Z93zgRPsJmT99d6LOUTTrNMLYp3 wLYfwgWOy1RWmjUpmDhqxPt1tfCG7FveB6B4MPm6DJTiThjMj7jKhnxnfL8GX42S KllUZYi0qus4H4mQG5Sli202tG9q03bDg47mxUeQ7dgvrh5rrqVHbVcT6UbS11FJ r9P8c0ETRGNGo/UwA+qbY500GsrXl/Y5LQ9CaEnQaiwbr6hEFMM= =0nXM -----END PGP SIGNATURE----- --zk8uVAue02h1dODg-- --===============5092847256735580504== 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". --===============5092847256735580504==--