lavu: add AVERROR_BUG error value

It should be used to mark codepath that can be reached only through
programming error.
This commit is contained in:
Luca Barbato 2011-12-14 20:27:11 +01:00
parent c9aa4cfdb1
commit 1ee5b5e823
2 changed files with 2 additions and 0 deletions

View file

@ -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.