comparison error.h @ 883:e442be7463aa libavutil

Mark AVERROR_ENOENT for deletion at the next libavutil major bump. The symbol is currently unused, AVERROR(ENOENT) must be used instead.
author stefano
date Sun, 14 Mar 2010 01:32:44 +0000
parents d150b3ee9435
children bac1abbd0702
comparison
equal deleted inserted replaced
882:d150b3ee9435 883:e442be7463aa
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_IO AVERROR(EIO) /**< I/O error */ 38 #define AVERROR_IO AVERROR(EIO) /**< I/O error */
39 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */
39 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */ 40 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */
40 #define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */ 41 #define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */
41 #endif 42 #endif
42 43
43 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */ 44 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */
44 #define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< invalid data found */ 45 #define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< invalid data found */
45 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */
46 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */ 46 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */
47 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ 47 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */
48 #define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< Number syntax expected in filename. */ 48 #define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< Number syntax expected in filename. */
49 49
50 #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. */