avcodec/dovi_rpu: switch to AVERROR_INVALIDDATA

Instead of AVERROR(EINVAL)
This commit is contained in:
Niklas Haas 2024-03-23 20:04:05 +01:00
parent 4f55e16f2b
commit 0473270a34

View File

@ -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;
}