comparison error.h @ 890:e8a40257c674 libavutil

Use consistent punctuation rules for the error message descriptions.
author stefano
date Thu, 25 Mar 2010 22:46:28 +0000
parents 83b7527b1b86
children 5ab17eb3a54c
comparison
equal deleted inserted replaced
889:83b7527b1b86 890:e8a40257c674
38 #endif 38 #endif
39 39
40 #if LIBAVUTIL_VERSION_MAJOR < 51 40 #if LIBAVUTIL_VERSION_MAJOR < 51
41 #define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< Invalid data found when processing input */ 41 #define AVERROR_INVALIDDATA AVERROR(EINVAL) /**< Invalid data found when processing input */
42 #define AVERROR_IO AVERROR(EIO) /**< I/O error */ 42 #define AVERROR_IO AVERROR(EIO) /**< I/O error */
43 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ 43 #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory */
44 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< unknown format */ 44 #define AVERROR_NOFMT AVERROR(EILSEQ) /**< Unknown format */
45 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< not enough memory */ 45 #define AVERROR_NOMEM AVERROR(ENOMEM) /**< Not enough memory */
46 #define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< Number syntax expected in filename. */ 46 #define AVERROR_NUMEXPECTED AVERROR(EDOM) /**< Number syntax expected in filename */
47 #define AVERROR_UNKNOWN AVERROR(EINVAL) /**< unknown error */ 47 #define AVERROR_UNKNOWN AVERROR(EINVAL) /**< Unknown error */
48 #endif 48 #endif
49 49
50 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file. */ 50 #define AVERROR_EOF AVERROR(EPIPE) /**< End of file */
51 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported. */ 51 #define AVERROR_NOTSUPP AVERROR(ENOSYS) /**< Operation not supported */
52 52
53 #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) /**< Not yet implemented in FFmpeg. Patches welcome. */ 53 #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) /**< Not yet implemented in FFmpeg, patches welcome */
54 54
55 #if LIBAVUTIL_VERSION_MAJOR > 50 55 #if LIBAVUTIL_VERSION_MAJOR > 50
56 #define AVERROR_INVALIDDATA (-MKTAG('I','N','D','A')) /**< Invalid data found when processing input */ 56 #define AVERROR_INVALIDDATA (-MKTAG('I','N','D','A')) /**< Invalid data found when processing input */
57 #define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) /**< Number syntax expected in filename. */ 57 #define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) /**< Number syntax expected in filename */
58 #endif 58 #endif
59 59
60 #endif /* AVUTIL_ERROR_H */ 60 #endif /* AVUTIL_ERROR_H */