[FFmpeg-cvslog] Fix compilation after version bump.

Carl Eugen Hoyos git at videolan.org
Sat Apr 23 10:31:42 CEST 2011


ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Apr 23 10:06:39 2011 +0200| [4b5c21757bf614b09c94cb5aef5f89ba885b0bd9] | committer: Carl Eugen Hoyos

Fix compilation after version bump.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b5c21757bf614b09c94cb5aef5f89ba885b0bd9
---

 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 3e52ab5..f0e908b 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);
     }
 }
 



More information about the ffmpeg-cvslog mailing list