[PATCH 2/3] Add a notice clarifying the difference between AVERROR(XXX) and AVERROR_XXX error codes.

Stefano Sabatini stefano.sabatini-lala
Sat Mar 13 15:35:03 CET 2010


---
 libavutil/error.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavutil/error.h b/libavutil/error.h
index d2cd740..a7543cb 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -42,6 +42,8 @@
 #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.
+
+/* FFmpeg specific error codes */
 #define AVERROR_PATCHWELCOME    (-MKTAG('P','A','W','E')) ///< Not yet implemented in FFmpeg. Patches welcome.
 
 #endif /* AVUTIL_ERROR_H */
-- 
1.6.6.1


--bjuZg6miEcdLYP6q
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename="0003-Use-punctuation-rules-consistent-with-those-defined-.patch"




More information about the ffmpeg-devel mailing list