You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/elsdec: Remove EOVERFLOW
EOVERFLOW is not available on all platforms Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -362,7 +362,7 @@ unsigned ff_els_decode_unsigned(ElsDecCtx *ctx, ElsUnsignedRung *ur)
|
|||||||
|
|
||||||
/* handle the error/overflow case */
|
/* handle the error/overflow case */
|
||||||
if (ctx->err || n >= ELS_EXPGOLOMB_LEN) {
|
if (ctx->err || n >= ELS_EXPGOLOMB_LEN) {
|
||||||
ctx->err = AVERROR(EOVERFLOW);
|
ctx->err = AVERROR_INVALIDDATA;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user