diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-07-01 15:38:19 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-07-01 16:26:42 +0100 |
commit | 4e0819310e2d2eff60be2d6df28335f0739712b9 (patch) | |
tree | 80d66dce2fb419774ff280db74ea45e1b43b1710 | |
parent | f91fe24e9bd6912c29bbb03d8afe878e045f9721 (diff) | |
download | ffmpeg-4e0819310e2d2eff60be2d6df28335f0739712b9.tar.gz |
elsdec: Replace EOVERFLOW with INVALIDDATA
EOVERFLOW is not available on all platforms.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/elsdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/elsdec.c b/libavcodec/elsdec.c index 5e89045864..10a1a9d5e8 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; } |