mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 16:22:37 +00:00
elsdec: Replace EOVERFLOW with INVALIDDATA
EOVERFLOW is not available on all platforms. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f91fe24e9b
commit
4e0819310e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user