From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ffmpeg-devel-bounces@ffmpeg.org>
Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100])
	by master.gitmailbox.com (Postfix) with ESMTPS id BDCC24C7F0
	for <ffmpegdev@gitmailbox.com>; Wed,  9 Apr 2025 14:48:40 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C9CBC68BBE4;
	Wed,  9 Apr 2025 17:48:37 +0300 (EEST)
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 09F3B687F49
 for <ffmpeg-devel@ffmpeg.org>; Wed,  9 Apr 2025 17:48:30 +0300 (EEST)
Received: by mail.gandi.net (Postfix) with ESMTPSA id 6A278441A2
 for <ffmpeg-devel@ffmpeg.org>; Wed,  9 Apr 2025 14:48:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1744210110;
 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=kx6GwC/gdr7ZDER7QxZpVqsN2G64yi9yUaPLgxPQLwY=;
 b=G4u9OL4kMbnojkUGF85g8466v04DGkm0yEnSLKfCSRPA+wLUS857pNREWXuXw2oJwqG6ND
 xu9mOqi4dbL3fN/7n8p7ZCYx6d/XEnai8uv5WAz+lsapdje3lOhWSs21WPtyt7CRobWSNe
 KH/DSGT61rHMRSgK1f/oVtzIBeA6Q2ED4rJulL8qUXgqF18HzQZUqcx9D9q9B5t7hA8qmZ
 BBKp2dlJhDQGjMymX4c/PuXEr1jgHn9oCYLUZW/tITCLvU4MF79pjPBiipmYSm5xYMZ8wl
 ++srF0rF35vUmDVAKtYt4OEa+f8bb3sVcNwQicPo9T9D/hM2rGGQdiUx2+/47g==
Date: Wed, 9 Apr 2025 16:48:29 +0200
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250409144829.GW4991@pb2>
References: <b5ae46b2-14be-423f-982c-93bb58be15cd@mediaarea.net>
MIME-Version: 1.0
In-Reply-To: <b5ae46b2-14be-423f-982c-93bb58be15cd@mediaarea.net>
X-GND-State: clean
X-GND-Score: -85
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddvtdeivdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdduhedmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] avcodec/ffv1enc: permit 1024 slices
X-BeenThere: ffmpeg-devel@ffmpeg.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: FFmpeg development discussions and patches <ffmpeg-devel.ffmpeg.org>
List-Unsubscribe: <https://ffmpeg.org/mailman/options/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=unsubscribe>
List-Archive: <https://ffmpeg.org/pipermail/ffmpeg-devel>
List-Post: <mailto:ffmpeg-devel@ffmpeg.org>
List-Help: <mailto:ffmpeg-devel-request@ffmpeg.org?subject=help>
List-Subscribe: <https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>,
 <mailto:ffmpeg-devel-request@ffmpeg.org?subject=subscribe>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Content-Type: multipart/mixed; boundary="===============7001367472262761550=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250409144829.GW4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============7001367472262761550==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="XG2f26TKT+3I9kha"
Content-Disposition: inline


--XG2f26TKT+3I9kha
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Jerome

On Tue, Apr 08, 2025 at 10:54:47PM +0200, Jerome Martinez wrote:
> The FFV1 decoder accepts 1024 slices but the encoder does not currently
> permit it.
> Let's permit 32x32 (which is the GPU encoder setting, by the way).

>  ffv1enc.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 25b58274f84a54ba238a8bcc7391b2517eebb131  0001-avcodec-ffv1enc-permit-102=
4-slices.patch
> From 216f14a7bf0c4f71b7c8e15c7f2d91088818a20d Mon Sep 17 00:00:00 2001
> From: Jerome Martinez <jerome@mediaarea.net>
> Date: Tue, 8 Apr 2025 22:07:47 +0200
> Subject: [PATCH] avcodec/ffv1enc: permit 1024 slices
>=20
> ---
>  libavcodec/ffv1enc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thx

[...]

--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable

--XG2f26TKT+3I9kha
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ/aIvQAKCRBhHseHBAsP
q/o5AKCO9PjTFZEEpp1j0aHuBuXJsVeaGgCfbmUvWvEDAZMiQHJyeciBR0oBQbc=
=UPIZ
-----END PGP SIGNATURE-----

--XG2f26TKT+3I9kha--

--===============7001367472262761550==
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".

--===============7001367472262761550==--