diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2011-12-20 19:08:04 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2011-12-20 19:08:04 +0100 |
commit | b0aaf304a778f0a49d42c032aa83efa62c3291c4 (patch) | |
tree | b52784fbb38ce17b589428d3293ed266a3494361 /libavcodec/libcelt_dec.c | |
parent | 154c0a8c989c4f2af9aca3d4bd3f9bf771178c2a (diff) | |
download | ffmpeg-b0aaf304a778f0a49d42c032aa83efa62c3291c4.tar.gz |
Replace PATCHWELCOME by relevant error codes.
This supersedes commit 154c0a8.
The bug was also reported by Rafaël Carré.
Diffstat (limited to 'libavcodec/libcelt_dec.c')
-rw-r--r-- | libavcodec/libcelt_dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c index f982dafec5..ffc608f234 100644 --- a/libavcodec/libcelt_dec.c +++ b/libavcodec/libcelt_dec.c @@ -40,7 +40,7 @@ static int ff_celt_error_to_averror(int err) #endif case CELT_INTERNAL_ERROR: return AVERROR(EFAULT); case CELT_CORRUPTED_DATA: return AVERROR_INVALIDDATA; - case CELT_UNIMPLEMENTED: return AVERROR_PATCHWELCOME; + case CELT_UNIMPLEMENTED: return AVERROR(ENOSYS); #ifdef ENOTRECOVERABLE case CELT_INVALID_STATE: return AVERROR(ENOTRECOVERABLE); #endif |