On Sun, Mar 09, 2025 at 11:58:06PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/ffv1enc_template.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > 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, > > if (ac != 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 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of failure, be that a person or equipment.