forked from FFmpeg/FFmpeg
avcodec/elsdec: Remove EOVERFLOW
EOVERFLOW is not available on all platforms Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
55a04a5d7a
commit
dec728888f
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue