From a893655bdaa726a82424367b6456d195be12ebbc Mon Sep 17 00:00:00 2001 From: Nathan Caldwell Date: Thu, 18 Oct 2012 22:59:04 -0600 Subject: avutil: Add AVERROR_EXPERIMENTAL Signed-off-by: Luca Barbato --- libavutil/error.c | 1 + libavutil/error.h | 1 + libavutil/version.h | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) (limited to 'libavutil') diff --git a/libavutil/error.c b/libavutil/error.c index c335cde13d..6803d2d4cd 100644 --- a/libavutil/error.c +++ b/libavutil/error.c @@ -41,6 +41,7 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size) case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found" ; break; case AVERROR_BUG: errstr = "Bug detected, please report the issue" ; break; case AVERROR_UNKNOWN: errstr = "Unknown error occurred" ; break; + case AVERROR_EXPERIMENTAL: errstr = "Experimental feature" ; break; } if (errstr) { diff --git a/libavutil/error.h b/libavutil/error.h index 61d5fb9085..3dfd8807fe 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -60,6 +60,7 @@ #define AVERROR_STREAM_NOT_FOUND (-0x2dabac08) ///< Stream not found #define AVERROR_BUG (-0x5fb8aabe) ///< Bug detected, please report the issue #define AVERROR_UNKNOWN (-0x31b4b1ab) ///< Unknown error, typically from an external library +#define AVERROR_EXPERIMENTAL (-0x2bb2afa8) ///< Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it. /** * Put a description of the AVERROR code errnum in errbuf. diff --git a/libavutil/version.h b/libavutil/version.h index 4cc2f7cf75..4de2a9446f 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -37,7 +37,7 @@ */ #define LIBAVUTIL_VERSION_MAJOR 51 -#define LIBAVUTIL_VERSION_MINOR 44 +#define LIBAVUTIL_VERSION_MINOR 45 #define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ -- cgit v1.2.3