From: Michael Niedermayer <[email protected]> EOVERFLOW is not available on all platforms.
Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/elsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/elsdec.c b/libavcodec/elsdec.c index c4869c9..4797965 100644 --- a/libavcodec/elsdec.c +++ b/libavcodec/elsdec.c @@ -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; } -- 1.9.5 (Apple Git-50.3) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
