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>
This commit is contained in:
Michael Niedermayer 2012-05-09 11:26:11 +02:00
parent f8b536a786
commit 2c83265290

View File

@ -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) {