From bafa4dd3e69531f262472ac286e0ae7d4dbfbd97 Mon Sep 17 00:00:00 2001 From: Nicolas George Date: Sun, 13 Mar 2011 00:42:26 +0100 Subject: Add AVERROR_EXIT. This is different from AVERROR(EINTR) because calls that fail with EINTR should usually be restarted. Signed-off-by: Nicolas George Signed-off-by: Ronald S. Bultje --- libavutil/error.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/error.c') 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) { -- cgit v1.2.3