diff --git a/libavutil/error.c b/libavutil/error.c index 56841d3e46ec1f9a8cda925fd2b582bd22430001..8f725d75c7d7020986ff4e4bf8ea0d44e0ae6548 100644 --- a/libavutil/error.c +++ b/libavutil/error.c @@ -42,6 +42,8 @@ int av_strerror(int errnum, char *errbuf, size_t errbuf_size) case AVERROR_PROTOCOL_NOT_FOUND:errstr = "Protocol not found" ; break; case AVERROR_STREAM_NOT_FOUND: errstr = "Stream not found" ; break; case AVERROR_UNKNOWN: errstr = "Unknown error occurred" ; break; + case AVERROR(EINVAL): errstr = "Invalid argument" ; break; + case 0: errstr = "Success" ; break; } if (errstr) {