aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/error.c
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2011-12-14 20:27:11 +0100
committerLuca Barbato <lu_zero@gentoo.org>2011-12-19 18:31:28 +0100
commit1ee5b5e823e3fe7e5599036bb057bfbcb3aa260c (patch)
tree621e8849035698c132a89e744db090568cfa7f63 /libavutil/error.c
parentc9aa4cfdb12dd3cff1195cb20947b7d43897eed7 (diff)
downloadffmpeg-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.c')
-rw-r--r--libavutil/error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/error.c b/libavutil/error.c
index ddcc038650..a330e9f99c 100644
--- a/libavutil/error.c
+++ b/libavutil/error.c
@@ -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) {