Commit 4e081931 authored by Michael Niedermayer's avatar Michael Niedermayer Committed by Vittorio Giovara

elsdec: Replace EOVERFLOW with INVALIDDATA

EOVERFLOW is not available on all platforms.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f91fe24e
......@@ -362,7 +362,7 @@ unsigned ff_els_decode_unsigned(ElsDecCtx *ctx, ElsUnsignedRung *ur)
/* handle the error/overflow case */
if (ctx->err || n >= ELS_EXPGOLOMB_LEN) {
ctx->err = AVERROR(EOVERFLOW);
ctx->err = AVERROR_INVALIDDATA;
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment