diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2012-07-04 12:50:55 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2012-07-04 15:45:05 +0200 |
commit | 7beeea8f1755d25d2eaf56cff9a04590244da393 (patch) | |
tree | 02b08d00e7b70c67677f62c90fd37b3fa1fa942d /libavutil/error.c | |
parent | aa39516a04f7a7b91bf03e0fad0afce41acd1de1 (diff) | |
download | ffmpeg-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.c')
-rw-r--r-- | libavutil/error.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/error.c b/libavutil/error.c index 71856a1d57..98a60c20ae 100644 --- a/libavutil/error.c +++ b/libavutil/error.c @@ -37,6 +37,7 @@ struct error_entry error_entries[] = { { ERROR_TAG(ENCODER_NOT_FOUND), "Encoder not found" }, { ERROR_TAG(EOF), "End of file" }, { ERROR_TAG(EXIT), "Immediate exit requested" }, + { ERROR_TAG(EXTERNAL), "Generic error in an external library" }, { ERROR_TAG(FILTER_NOT_FOUND), "Filter not found" }, { ERROR_TAG(INVALIDDATA), "Invalid data found when processing input" }, { ERROR_TAG(MUXER_NOT_FOUND), "Muxer not found" }, |