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 ESMTPS id 555D64E352 for ; Mon, 10 Mar 2025 20:23:37 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 11BB768E0D0; Mon, 10 Mar 2025 22:23:34 +0200 (EET) Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net [217.70.183.194]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id EC8B068E092 for ; Mon, 10 Mar 2025 22:23:27 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 40C90442B3 for ; Mon, 10 Mar 2025 20:23:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1741638207; 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=YhBZwFwf7SFIm/b+utTy+Ui26OTWBSfFDvFFhyrqQUQ=; b=JFhWaa3mLUUATbkp59UvcEj8UgvWHYpYq9OcbbnozR4k+dYK0OmLOygOh8+qikaku6YxmV EQkxhQYw/xHpXZ2dxnSimMpUvwtmX6NEWyR/AqLrGo51gvzxh84QZHZlxr4fTB8xRTI6+R Wmd650tnTunvZ8bN/Tgay9aZRuB0WpERROwL9l4GMOivXYK6Mrm8lTwFHw6wq5AAlrAUlt 3hgc1N9uexAJXZyURWexG68vWQRsZv5GSAxF865SiZ2xvCFrS+WDnFYvcYjHQKCSFHPyno UwfTuBVbSrEG4o5YUpPb1Mm45As1sdafyIaM3aLAnFuQjUkLYrb+e0j++U9hKw== Date: Mon, 10 Mar 2025 21:23:25 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20250310202325.GN4991@pb2> References: MIME-Version: 1.0 In-Reply-To: X-GND-State: clean X-GND-Score: -70 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduvddtfedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH 04/12] all: Use put_bytes_output() instead of put_bits_ptr - pb->buf 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="===============0157925765092256371==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============0157925765092256371== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="R2JUbMhZyIh5THMP" Content-Disposition: inline --R2JUbMhZyIh5THMP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Andreas On Sun, Mar 09, 2025 at 07:18:34PM +0100, Andreas Rheinhardt wrote: > Andreas Rheinhardt: > > Avoids accessing internals of PutBitContext. [...] > > @@ -323,7 +323,7 @@ static int swf_write_header(AVFormatContext *s) > > put_bits(&p, 5, 0); > > =20 > > flush_put_bits(&p); > > - avio_write(pb, buf1, put_bits_ptr(&p) - p.buf); > > + avio_write(pb, buf1, put_bytes_output(&p)); > > =20 > > put_swf_end_tag(s); > > } >=20 > Will apply tomorrow unless there are objections. i like the new code more thanks for improving this and other things [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB What does censorship reveal? It reveals fear. -- Julian Assange --R2JUbMhZyIh5THMP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ89KPQAKCRBhHseHBAsP q0BbAJoCwVjwbXSU0VzzCcy7hPSNWopB5ACdGIyIlozcyq66cB4EjgGr3Mx5TqQ= =uwNl -----END PGP SIGNATURE----- --R2JUbMhZyIh5THMP-- --===============0157925765092256371== 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". --===============0157925765092256371==--