mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-17 20:25:26 +08:00
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:
@ -38,6 +38,7 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
|
||||
case AVERROR_PATCHWELCOME: errstr = "Not yet implemented in Libav, patches welcome"; break;
|
||||
case AVERROR_PROTOCOL_NOT_FOUND:errstr = "Protocol not found" ; break;
|
||||
case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found" ; break;
|
||||
case AVERROR_BUG: errstr = "Bug detected, please report the issue" ; break;
|
||||
}
|
||||
|
||||
if (errstr) {
|
||||
|
Reference in New Issue
Block a user