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.
This commit is contained in:
Nicolas George
2012-07-04 12:50:55 +02:00
parent aa39516a04
commit 7beeea8f17
3 changed files with 3 additions and 1 deletions

View File

@@ -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" },