diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-27 22:26:08 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-04-27 22:26:08 +0000 |
commit | cf103fabbe33683d6ca138f7270351a4fa9c6466 (patch) | |
tree | 550b314fec9e74cbfa23383b7e381f2fd4ef3e67 /libavutil/error.h | |
parent | 1ace15f58cd79f1fc114f1bda6aa7ac555717afd (diff) | |
download | ffmpeg-cf103fabbe33683d6ca138f7270351a4fa9c6466.tar.gz |
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
Originally committed as revision 22981 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil/error.h')
-rw-r--r-- | libavutil/error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/error.h b/libavutil/error.h index 33b94f549e..abf9a57d70 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -43,12 +43,12 @@ #define AVERROR_NOENT AVERROR(ENOENT) ///< No such file or directory #define AVERROR_NOFMT AVERROR(EILSEQ) ///< Unknown format #define AVERROR_NOMEM AVERROR(ENOMEM) ///< Not enough memory +#define AVERROR_NOTSUPP AVERROR(ENOSYS) ///< Operation not supported #define AVERROR_NUMEXPECTED AVERROR(EDOM) ///< Number syntax expected in filename #define AVERROR_UNKNOWN AVERROR(EINVAL) ///< Unknown error #endif #define AVERROR_EOF AVERROR(EPIPE) ///< End of file -#define AVERROR_NOTSUPP AVERROR(ENOSYS) ///< Operation not supported #define AVERROR_PATCHWELCOME (-MKTAG('P','A','W','E')) ///< Not yet implemented in FFmpeg, patches welcome |