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 4A4444E390
	for <ffmpegdev@gitmailbox.com>; Tue, 11 Mar 2025 00:55:00 +0000 (UTC)
Received: from [127.0.1.1] (localhost [127.0.0.1])
	by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 78E3D68DD6D;
	Tue, 11 Mar 2025 02:54:58 +0200 (EET)
Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net
 [217.70.183.193])
 by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 50E8768DAE4
 for <ffmpeg-devel@ffmpeg.org>; Tue, 11 Mar 2025 02:54:52 +0200 (EET)
Received: by mail.gandi.net (Postfix) with ESMTPSA id ACB8D44325
 for <ffmpeg-devel@ffmpeg.org>; Tue, 11 Mar 2025 00:54:51 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc;
 s=gm1; t=1741654491;
 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=WOlzwjoJiBZt0Q3N9WELbpRRaChB3ycihrXPH9JIKIc=;
 b=dz1LlBvGM6WTuSn+jVM6u4AqEm3O2XkLkU9koQxnbLMBXInTK5nk0T4lVGyu+0vCDKSF9T
 6mk8u89tsH+OjBJUm9qupwuTS4UfI46EC/1zmzFPMzlANBLQlrEIfGFJ/0Pr9pJ+3795dL
 ypRuux1Iv/wjdkDz8tbcacYT9QYHbh9G4AEnZnZm2UBdLhePZXfk2NjhZAEwv8UXw67RHx
 ZXo+W7X+2Bm260rlTrpsYQFIT6OWzjtMFv0GGN65y0Ihp4zMNs0QQSipjKesFCqoU2cF5o
 lZaTncBs53JTV2DueT7bJnQdth1RxMcnZZdLeFLRUp4lY3IBhTrohnWLN2R7bw==
Date: Tue, 11 Mar 2025 01:54:50 +0100
From: Michael Niedermayer <michael@niedermayer.cc>
To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org>
Message-ID: <20250311005450.GU4991@pb2>
References: <20250309225806.1849854-1-michael@niedermayer.cc>
 <20250309225806.1849854-4-michael@niedermayer.cc>
MIME-Version: 1.0
In-Reply-To: <20250309225806.1849854-4-michael@niedermayer.cc>
X-GND-State: clean
X-GND-Score: -70
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduvddtkeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenfghrlhcuvffnffculdeftddmnecujfgurhepfffhvffukfhfgggtuggjsehgtderredttddvnecuhfhrohhmpefoihgthhgrvghlucfpihgvuggvrhhmrgihvghruceomhhitghhrggvlhesnhhivgguvghrmhgrhigvrhdrtggtqeenucggtffrrghtthgvrhhnpeeigeektdejudffjefhteegjedtgeettefggedthfejgfevhfetgeekjedtvdfhveenucfkphepgedurdeiiedrieejrdduudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepgedurdeiiedrieejrdduudefpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihgthhgrvghlsehnihgvuggvrhhmrgihvghrrdgttgdpnhgspghrtghpthhtohepuddprhgtphhtthhopehffhhmphgvghdquggvvhgvlhesfhhfmhhpvghgrdhorhhg
X-GND-Sasl: michael@niedermayer.cc
Subject: Re: [FFmpeg-devel] [PATCH 4/4] avcodec/ffv1enc_template: Be a bit
 more verbose on error
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="===============7180420248921250928=="
Errors-To: ffmpeg-devel-bounces@ffmpeg.org
Sender: "ffmpeg-devel" <ffmpeg-devel-bounces@ffmpeg.org>
Archived-At: <https://master.gitmailbox.com/ffmpegdev/20250311005450.GU4991@pb2/>
List-Archive: <https://master.gitmailbox.com/ffmpegdev/>
List-Post: <mailto:ffmpegdev@gitmailbox.com>


--===============7180420248921250928==
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="jhqvammNN2PUoNRM"
Content-Disposition: inline


--jhqvammNN2PUoNRM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Mar 09, 2025 at 11:58:06PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/ffv1enc_template.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>=20
> diff --git a/libavcodec/ffv1enc_template.c b/libavcodec/ffv1enc_template.c
> index d8160282b2e..8b2d938770f 100644
> --- a/libavcodec/ffv1enc_template.c
> +++ b/libavcodec/ffv1enc_template.c
> @@ -39,12 +39,12 @@ RENAME(encode_line)(FFV1Context *f, FFV1SliceContext =
*sc,
> =20
>      if (ac !=3D AC_GOLOMB_RICE) {
>          if (c->bytestream_end - c->bytestream < w * 35) {
> -            av_log(logctx, AV_LOG_ERROR, "encoded frame too large\n");
> +            av_log(logctx, AV_LOG_ERROR, "encoded Range Coder frame too =
large\n");
>              return AVERROR_INVALIDDATA;
>          }
>      } else {
>          if (put_bytes_left(&sc->pb, 0) < w * 4) {
> -            av_log(logctx, AV_LOG_ERROR, "encoded frame too large\n");
> +            av_log(logctx, AV_LOG_ERROR, "encoded Golomb Rice frame too =
large\n");
>              return AVERROR_INVALIDDATA;

will apply, this just disambiguates 2 messages

[...]

--=20
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Avoid a single point of failure, be that a person or equipment.

--jhqvammNN2PUoNRM
Content-Type: application/pgp-signature; name="signature.asc"

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

iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZ8+J2gAKCRBhHseHBAsP
q5RSAJ9StdVJru35yONyoY4TC5ngex+/YACggSYtR5a4z7KISPpnkYAO7TDGq/E=
=Z8QK
-----END PGP SIGNATURE-----

--jhqvammNN2PUoNRM--

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

--===============7180420248921250928==--