mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
f8b536a786
commit
2c83265290
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue