From 4b5c21757bf614b09c94cb5aef5f89ba885b0bd9 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Sat, 23 Apr 2011 10:06:39 +0200 Subject: [PATCH] Fix compilation after version bump. --- libavcodec/libcelt_dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }