mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:20:56 +01:00
avutil: add AVERROR_UNKNOWN
Useful to return instead of -1 when the cause of the error is unknown, typically from an external library.
This commit is contained in:
parent
a8bdf2405c
commit
c9bca80132
4 changed files with 7 additions and 2 deletions
|
|
@ -58,6 +58,7 @@
|
|||
#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
|
||||
#define AVERROR_UNKNOWN (-MKTAG( 'U','N','K','N')) ///< Unknown error, typically from an external library
|
||||
|
||||
/**
|
||||
* Put a description of the AVERROR code errnum in errbuf.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue