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>
pull/30/merge
Michael Niedermayer 13 years ago
parent f8b536a786
commit 2c83265290
  1. 2
      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) {

Loading…
Cancel
Save