History

elsdec: Replace EOVERFLOW with INVALIDDATA

EOVERFLOW is not available on all platforms.

Michael Niedermayer committed 11 years ago

Commit 4e081931 parent f91fe241 file · +1 −1Browse files

Unified · Split

libavcodec/elsdec.c+1−1
@@ -362,7 +362,7 @@ unsigned ff_els_decode_unsigned(ElsDecCtx *ctx, ElsUnsignedRung *ur) · 361 unmodified lines
362 362
363 /* handle the error/overflow case */363 /* handle the error/overflow case */
364 if (ctx->err || n >= ELS_EXPGOLOMB_LEN) {364 if (ctx->err || n >= ELS_EXPGOLOMB_LEN) {
365 ctx->err = AVERROR(EOVERFLOW);365 ctx->err = AVERROR_INVALIDDATA;
366 return 0;366 return 0;
367 }367 }
368 368

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t