From dec728888f8826e3f2032aec463c3dd1e26ec2a4 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 1 Jul 2015 04:24:58 +0200 Subject: [PATCH] avcodec/elsdec: Remove EOVERFLOW EOVERFLOW is not available on all platforms Signed-off-by: Michael Niedermayer --- libavcodec/elsdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/elsdec.c b/libavcodec/elsdec.c index c4869c98c7..4797965457 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; }