aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2024-03-23 20:04:05 +0100
committerNiklas Haas <git@haasn.dev>2024-04-03 16:16:25 +0200
commit0473270a34e4159cd03a5cb12994be8c767e11bf (patch)
tree9ecb68e7d1d945705f2530102ab5373fbbc5c648 /libavcodec
parent4f55e16f2bc1b861ecc6ce29f151beac357f181c (diff)
downloadffmpeg-0473270a34e4159cd03a5cb12994be8c767e11bf.tar.gz
avcodec/dovi_rpu: switch to AVERROR_INVALIDDATA
Instead of AVERROR(EINVAL)
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/dovi_rpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dovi_rpu.c b/libavcodec/dovi_rpu.c
index 0502f0e7f2..5f2f79f0f6 100644
--- a/libavcodec/dovi_rpu.c
+++ b/libavcodec/dovi_rpu.c
@@ -484,5 +484,5 @@ int ff_dovi_rpu_parse(DOVIContext *s, const uint8_t *rpu, size_t rpu_size)
fail:
ff_dovi_ctx_unref(s); /* don't leak potentially invalid state */
- return AVERROR(EINVAL);
+ return AVERROR_INVALIDDATA;
}