Commit dec72888 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/elsdec: Remove EOVERFLOW

EOVERFLOW is not available on all platforms
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 55a04a5d
......@@ -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