summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2025-03-09 23:38:29 +0100
committerMichael Niedermayer <[email protected]>2025-03-11 14:17:02 +0100
commit0b097ed9f141f57e2b91f0704c721a9eff0204c0 (patch)
tree6efebc3100cd9e35d755bd04ee36b6f2c63f217e
parenta8a83e06f917a4d4c8c090184515d6ba6bed30b1 (diff)
avcodec/ffv1enc_template: Be a bit more verbose on error
Signed-off-by: Michael Niedermayer <[email protected]>
-rw-r--r--libavcodec/ffv1enc_template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ffv1enc_template.c b/libavcodec/ffv1enc_template.c
index 502c805ff6..878ab6c720 100644
--- a/libavcodec/ffv1enc_template.c
+++ b/libavcodec/ffv1enc_template.c
@@ -37,12 +37,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;
}
}