]> git.sesse.net Git - ffmpeg/commitdiff
avutil: Add AVERROR_EXPERIMENTAL
authorNathan Caldwell <saintdev@gmail.com>
Fri, 19 Oct 2012 04:59:04 +0000 (22:59 -0600)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 21 Oct 2012 20:38:21 +0000 (22:38 +0200)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
doc/APIchanges
libavutil/error.c
libavutil/error.h
libavutil/version.h

index 0c9a45583840db2564d085f7c4fbfc29100a9a89..ed479df5692f72dfafaf77cc5716a346ada52eea 100644 (file)
@@ -13,6 +13,9 @@ libavutil:     2011-04-18
 
 API changes, most recent first:
 
+2012-10-18 - xxxxxxx - lavu 51.45.0 - error.h
+  Add AVERROR_EXPERIMENTAL
+
 2012-10-12 - xxxxxxx - lavu 51.44.0 - pixdesc.h
   Add functions for accessing pixel format descriptors.
   Accessing the av_pix_fmt_descriptors array directly is now
index c335cde13dc869a069e41e132c8252c620b40bc9..6803d2d4cd8b6ceebab7b3498826575a24f232b3 100644 (file)
@@ -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) {
index 61d5fb90857828b0f9203c4e382b8a19dba1e6dc..3dfd8807fefff1941996b92a0a0dacdabd1f496b 100644 (file)
@@ -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.
index 4cc2f7cf75ea54a4b6cffb47ceb567ed3186120a..4de2a9446fd2a2e075bee9adcd8b28f716204565 100644 (file)
@@ -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, \