summaryrefslogtreecommitdiff
path: root/libavutil/error.c
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2011-03-13 00:42:26 +0100
committerRonald S. Bultje <rsbultje@gmail.com>2011-03-15 08:09:19 -0400
commitbafa4dd3e69531f262472ac286e0ae7d4dbfbd97 (patch)
tree4a2ee3f55c9232e68bf76feea66f49c6e12c86c7 /libavutil/error.c
parent3e68b3ba7b015cf2154ad2023781eedd47f0f4bb (diff)
downloadffmpeg-bafa4dd3e69531f262472ac286e0ae7d4dbfbd97.tar.gz
Add AVERROR_EXIT.
This is different from AVERROR(EINTR) because calls that fail with EINTR should usually be restarted. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
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 5cf54aadea..93f8925d44 100644
--- a/libavutil/error.c
+++ b/libavutil/error.c
@@ -37,6 +37,7 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
case AVERROR_FILTER_NOT_FOUND: errstr = "Filter not found"; break;
case AVERROR_BSF_NOT_FOUND: errstr = "Bitstream filter not found"; break;
case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found"; break;
+ case AVERROR_EXIT: errstr = "Immediate exit requested"; break;
}
if (errstr) {