Mercurial > libavutil.hg
comparison error.h @ 882:d150b3ee9435 libavutil
Lexically sort the error code definitions.
author | stefano |
---|---|
date | Sun, 14 Mar 2010 01:32:41 +0000 |
parents | ff823129a787 |
children | e442be7463aa |
comparison
equal
deleted
inserted
replaced
881:ff823129a787 | 882:d150b3ee9435 |
---|---|
33 #define AVERROR(e) (e) | 33 #define AVERROR(e) (e) |
34 #define AVUNERROR(e) (e) | 34 #define AVUNERROR(e) (e) |
35 #endif | 35 #endif |
36 | 36 |
37 #if LIBAVUTIL_VERSION_MAJOR < 51 | 37 #if LIBAVUTIL_VERSION_MAJOR < 51 |
38 #define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */ | |
39 #define AVERROR_IO AVERROR(EIO) /**< I/O error */ | 38 #define AVERROR_IO AVERROR(EIO) /**< I/O error */ |
40 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */ | 39 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */ |
40 #define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */ | |
41 #endif | 41 #endif |
42 | 42 |
43 #define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< Number syntax expected in filename. */ | 43 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */ |
44 #define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< invalid data found */ | 44 #define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< invalid data found */ |
45 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ | |
45 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */ | 46 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */ |
46 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ | 47 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ |
47 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ | 48 #define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< Number syntax expected in filename. */ |
48 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */ | 49 |
49 #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) /**< Not yet implemented in FFmpeg. Patches welcome. */ | 50 #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) /**< Not yet implemented in FFmpeg. Patches welcome. */ |
50 | 51 |
51 #endif /* AVUTIL_ERROR_H */ | 52 #endif /* AVUTIL_ERROR_H */ |