This value is to be used to reflect the real intentions of the developer
regarding a correct error reporting.
---
In the codebase there are a couple of places were this is evident, and this
error kind will come in handy for the future.
Cheers,
    Vittorio

 doc/APIchanges      | 3 +++
 libavutil/error.h   | 1 +
 libavutil/version.h | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/doc/APIchanges b/doc/APIchanges
index 75eb66b..2250aa0 100644
--- a/doc/APIchanges
+++ b/doc/APIchanges
@@ -13,6 +13,9 @@ libavutil:     2014-08-09
 
 API changes, most recent first:
 
+2015-xx-xx - xxxxxxx - lavu 54.11.0
+  Add AVERROR_ENOCARE error type.
+
 2015-xx-xx - xxxxxxx - lavc 56.22.0
   Add FF_PROFILE_DTS_EXPRESS.
 
diff --git a/libavutil/error.h b/libavutil/error.h
index 8be87cb..c7628db 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -48,6 +48,7 @@
 #define AVERROR_DECODER_NOT_FOUND  (-0x3cbabb08) ///< Decoder not found
 #define AVERROR_DEMUXER_NOT_FOUND  (-0x32babb08) ///< Demuxer not found
 #define AVERROR_ENCODER_NOT_FOUND  (-0x3cb1ba08) ///< Encoder not found
+#define AVERROR_ENOCARE            (-0xabad1dea) ///< Developer does not care
 #define AVERROR_EOF                (-0x5fb9b0bb) ///< End of file
 #define AVERROR_EXIT               (-0x2bb6a7bb) ///< Immediate exit was 
requested; the called function should not be restarted
 #define AVERROR_FILTER_NOT_FOUND   (-0x33b6b908) ///< Filter not found
diff --git a/libavutil/version.h b/libavutil/version.h
index b94db74..14a406e 100644
--- a/libavutil/version.h
+++ b/libavutil/version.h
@@ -54,7 +54,7 @@
  */
 
 #define LIBAVUTIL_VERSION_MAJOR 54
-#define LIBAVUTIL_VERSION_MINOR 10
+#define LIBAVUTIL_VERSION_MINOR 11
 #define LIBAVUTIL_VERSION_MICRO  0
 
 #define LIBAVUTIL_VERSION_INT   AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
-- 
1.9.3 (Apple Git-50)

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to