[PATCH 3/3] Mark AVERROR_ENOENT for deletion at the next libavutil major bump.

Stefano Sabatini stefano.sabatini-lala
Sat Mar 13 20:46:36 CET 2010


The symbol is currently unused, AVERROR(ENOENT) must be used instead.
---
 libavutil/error.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavutil/error.h b/libavutil/error.h
index 7d28027..71804fb 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -43,13 +43,13 @@
 #define AVERROR_UNKNOWN     AVERROR(EINVAL)  /**< unknown error */
 #define AVERROR_IO          AVERROR(EIO)     /**< I/O error */
 #define AVERROR_NOMEM       AVERROR(ENOMEM)  /**< not enough memory */
+#define AVERROR_NOENT       AVERROR(ENOENT)  /**< No such file or directory. */
 #endif
 
 #define AVERROR_NUMEXPECTED AVERROR(EDOM)    /**< Number syntax expected in filename. */
 #define AVERROR_INVALIDDATA AVERROR(EINVAL)  /**< invalid data found */
 #define AVERROR_NOFMT       AVERROR(EILSEQ)  /**< unknown format */
 #define AVERROR_NOTSUPP     AVERROR(ENOSYS)  /**< Operation not supported. */
-#define AVERROR_NOENT       AVERROR(ENOENT)  /**< No such file or directory. */
 #define AVERROR_EOF         AVERROR(EPIPE)   /**< End of file. */
 #define AVERROR_PATCHWELCOME    (-MKTAG('P','A','W','E')) /**< Not yet implemented in FFmpeg. Patches welcome. */
 
-- 
1.6.6.1


--/WwmFnJnmDyWGHa4--



More information about the ffmpeg-devel mailing list