This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
elsdec: Replace EOVERFLOW with INVALIDDATA
EOVERFLOW is not available on all platforms. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.8
Michael Niedermayer
Vittorio Giovara
10 years ago
parent
f91fe24e9b
commit
4e0819310e
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/elsdec.c
+ 1
- 1
libavcodec/elsdec.c
View File
@@ -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;
}
Write
Preview
Loading…
Cancel
Save