summaryrefslogtreecommitdiff
path: root/libavutil/error.h
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-07-04 12:50:55 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-07-04 15:45:05 +0200
commit7beeea8f1755d25d2eaf56cff9a04590244da393 (patch)
tree02b08d00e7b70c67677f62c90fd37b3fa1fa942d /libavutil/error.h
parentaa39516a04f7a7b91bf03e0fad0afce41acd1de1 (diff)
downloadffmpeg-7beeea8f1755d25d2eaf56cff9a04590244da393.tar.gz
error: define AVERROR_EXTERNAL.
This code is intended for errors in external libraries when no corresponding error code can be found. AVERROR_UNKNOWN is too vague for that and looks like AVERROR_BUG.
Diffstat (limited to 'libavutil/error.h')
-rw-r--r--libavutil/error.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/error.h b/libavutil/error.h
index 6c29902571..17681674ce 100644
--- a/libavutil/error.h
+++ b/libavutil/error.h
@@ -54,6 +54,7 @@
#define AVERROR_ENCODER_NOT_FOUND FFERRTAG(0xF8,'E','N','C') ///< Encoder not found
#define AVERROR_EOF FFERRTAG( 'E','O','F',' ') ///< End of file
#define AVERROR_EXIT FFERRTAG( 'E','X','I','T') ///< Immediate exit was requested; the called function should not be restarted
+#define AVERROR_EXTERNAL FFERRTAG( 'E','X','T',' ') ///< Generic error in an external library
#define AVERROR_FILTER_NOT_FOUND FFERRTAG(0xF8,'F','I','L') ///< Filter not found
#define AVERROR_INVALIDDATA FFERRTAG( 'I','N','D','A') ///< Invalid data found when processing input
#define AVERROR_MUXER_NOT_FOUND FFERRTAG(0xF8,'M','U','X') ///< Muxer not found