Commit 2c832652 authored by Michael Niedermayer's avatar Michael Niedermayer

error: Try to make av_strerror() closer to binary identical across platforms.

This should fix the parseutils fate test.
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent f8b536a7
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment