Mercurial > libavutil.hg
comparison error.h @ 911:71ebc8b18666 libavutil
Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)
instead which is semantically equivalent.
See the thread:
Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP
Date: Sat, 27 Mar 2010 00:51:13 +0100
author | stefano |
---|---|
date | Tue, 27 Apr 2010 22:26:08 +0000 |
parents | 0795a743bda1 |
children | a1a27468a9c5 |
comparison
equal
deleted
inserted
replaced
910:6dcab870b03b | 911:71ebc8b18666 |
---|---|
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_NOTSUPP AVERROR(ENOSYS) ///< Operation not supported | |
46 #define AVERROR_NUMEXPECTED AVERROR(EDOM) ///< Number syntax expected in filename | 47 #define AVERROR_NUMEXPECTED AVERROR(EDOM) ///< Number syntax expected in filename |
47 #define AVERROR_UNKNOWN AVERROR(EINVAL) ///< Unknown error | 48 #define AVERROR_UNKNOWN AVERROR(EINVAL) ///< Unknown error |
48 #endif | 49 #endif |
49 | 50 |
50 #define AVERROR_EOF AVERROR(EPIPE) ///< End of file | 51 #define AVERROR_EOF AVERROR(EPIPE) ///< End of file |
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 |