diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2011-12-14 20:27:11 +0100 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2011-12-19 18:31:28 +0100 |
commit | 1ee5b5e823e3fe7e5599036bb057bfbcb3aa260c (patch) | |
tree | 621e8849035698c132a89e744db090568cfa7f63 /libavutil/error.h | |
parent | c9aa4cfdb12dd3cff1195cb20947b7d43897eed7 (diff) | |
download | ffmpeg-1ee5b5e823e3fe7e5599036bb057bfbcb3aa260c.tar.gz |
lavu: add AVERROR_BUG error value
It should be used to mark codepath that can be reached only through
programming error.
Diffstat (limited to 'libavutil/error.h')
-rw-r--r-- | libavutil/error.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/error.h b/libavutil/error.h index 8ed77342ef..2db65cb83f 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -57,6 +57,7 @@ #define AVERROR_PATCHWELCOME (-MKTAG( 'P','A','W','E')) ///< Not yet implemented in Libav, patches welcome #define AVERROR_PROTOCOL_NOT_FOUND (-MKTAG(0xF8,'P','R','O')) ///< Protocol not found #define AVERROR_STREAM_NOT_FOUND (-MKTAG(0xF8,'S','T','R')) ///< Stream not found +#define AVERROR_BUG (-MKTAG( 'B','U','G',' ')) ///< Bug detected, please report the issue /** * Put a description of the AVERROR code errnum in errbuf. |