diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-09 11:26:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-09 11:26:11 +0200 |
commit | 2c83265290f679c07b30faa6a3804500931f1833 (patch) | |
tree | 187a10cf5fa3642cf8b6608447dbc2549b940257 /libavutil/error.c | |
parent | f8b536a786bf8ba2c65f102fa5cdc3963672d790 (diff) | |
download | ffmpeg-2c83265290f679c07b30faa6a3804500931f1833.tar.gz |
error: Try to make av_strerror() closer to binary identical across platforms.
This should fix the parseutils fate test.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/error.c')
-rw-r--r-- | libavutil/error.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/error.c b/libavutil/error.c index 56841d3e46..8f725d75c7 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) { |