1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avutil: Add AVERROR_EXPERIMENTAL

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
Nathan Caldwell 2012-10-18 22:59:04 -06:00 committed by Luca Barbato
parent a4aa20fbdb
commit a893655bda
4 changed files with 6 additions and 1 deletions

View File

@ -13,6 +13,9 @@ libavutil: 2011-04-18
API changes, most recent first: 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 2012-10-12 - xxxxxxx - lavu 51.44.0 - pixdesc.h
Add functions for accessing pixel format descriptors. Add functions for accessing pixel format descriptors.
Accessing the av_pix_fmt_descriptors array directly is now Accessing the av_pix_fmt_descriptors array directly is now

View 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_STREAM_NOT_FOUND: errstr = "Stream not found" ; break;
case AVERROR_BUG: errstr = "Bug detected, please report the issue" ; break; case AVERROR_BUG: errstr = "Bug detected, please report the issue" ; break;
case AVERROR_UNKNOWN: errstr = "Unknown error occurred" ; break; case AVERROR_UNKNOWN: errstr = "Unknown error occurred" ; break;
case AVERROR_EXPERIMENTAL: errstr = "Experimental feature" ; break;
} }
if (errstr) { if (errstr) {

View File

@ -60,6 +60,7 @@
#define AVERROR_STREAM_NOT_FOUND (-0x2dabac08) ///< Stream not found #define AVERROR_STREAM_NOT_FOUND (-0x2dabac08) ///< Stream not found
#define AVERROR_BUG (-0x5fb8aabe) ///< Bug detected, please report the issue #define AVERROR_BUG (-0x5fb8aabe) ///< Bug detected, please report the issue
#define AVERROR_UNKNOWN (-0x31b4b1ab) ///< Unknown error, typically from an external library #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. * Put a description of the AVERROR code errnum in errbuf.

View File

@ -37,7 +37,7 @@
*/ */
#define LIBAVUTIL_VERSION_MAJOR 51 #define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 44 #define LIBAVUTIL_VERSION_MINOR 45
#define LIBAVUTIL_VERSION_MICRO 0 #define LIBAVUTIL_VERSION_MICRO 0
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \