diff options
author | Niklas Haas <git@haasn.dev> | 2024-03-23 20:04:05 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-04-03 16:16:25 +0200 |
commit | 0473270a34e4159cd03a5cb12994be8c767e11bf (patch) | |
tree | 9ecb68e7d1d945705f2530102ab5373fbbc5c648 /libavcodec | |
parent | 4f55e16f2bc1b861ecc6ce29f151beac357f181c (diff) | |
download | ffmpeg-0473270a34e4159cd03a5cb12994be8c767e11bf.tar.gz |
avcodec/dovi_rpu: switch to AVERROR_INVALIDDATA
Instead of AVERROR(EINVAL)
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dovi_rpu.c | 2 |
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; } |