aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libcelt_dec.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-23 10:06:39 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-04-23 10:06:39 +0200
commit4b5c21757bf614b09c94cb5aef5f89ba885b0bd9 (patch)
tree1d97213b3e8737e143027e287418f588cd68787a /libavcodec/libcelt_dec.c
parente16665bf72d226b2c87c76a677414b8ef7720d7e (diff)
downloadffmpeg-4b5c21757bf614b09c94cb5aef5f89ba885b0bd9.tar.gz
Fix compilation after version bump.
Diffstat (limited to 'libavcodec/libcelt_dec.c')
-rw-r--r--libavcodec/libcelt_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libcelt_dec.c b/libavcodec/libcelt_dec.c
index 3e52ab572e..f0e908b39c 100644
--- a/libavcodec/libcelt_dec.c
+++ b/libavcodec/libcelt_dec.c
@@ -43,7 +43,7 @@ static int ff_celt_error_to_averror(int err)
case CELT_UNIMPLEMENTED: return AVERROR(ENOTSUP);
case CELT_INVALID_STATE: return AVERROR(ENOTRECOVERABLE);
case CELT_ALLOC_FAIL: return AVERROR(ENOMEM);
- default: return AVERROR_UNKNOWN;
+ default: return AVERROR(EINVAL);
}
}