25 const char *errstr =
NULL;
33 case AVERROR_EXIT: errstr =
"Immediate exit requested" ;
break;
41 case AVERROR_BUG: errstr =
"Bug detected, please report the issue" ;
break;
49 ret = strerror_r(
AVUNERROR(errnum), errbuf, errbuf_size);
54 snprintf(errbuf, errbuf_size,
"Error number %d occurred", errnum);
#define AVERROR_ENCODER_NOT_FOUND
Encoder not found.
#define AVERROR_INVALIDDATA
Invalid data found when processing input.
#define AVERROR_PROTOCOL_NOT_FOUND
Protocol not found.
#define AVERROR_EOF
End of file.
size_t av_strlcpy(char *dst, const char *src, size_t size)
Copy the string src to dst, but no more than size - 1 bytes, and null-terminate dst.
#define AVERROR_BSF_NOT_FOUND
Bitstream filter not found.
#define AVERROR_EXIT
Immediate exit was requested; the called function should not be restarted.
#define AVERROR_PATCHWELCOME
Not yet implemented in Libav, patches welcome.
#define AVERROR_BUG
Bug detected, please report the issue.
#define AVERROR_FILTER_NOT_FOUND
Filter not found.
#define AVERROR_DEMUXER_NOT_FOUND
Demuxer not found.
int av_strerror(int errnum, char *errbuf, size_t errbuf_size)
Put a description of the AVERROR code errnum in errbuf.
#define AVERROR_UNKNOWN
Unknown error, typically from an external library.
#define AVERROR_DECODER_NOT_FOUND
Decoder not found.
#define AVERROR_OPTION_NOT_FOUND
Option not found.
#define AVERROR_STREAM_NOT_FOUND
Stream not found.
#define AVERROR_MUXER_NOT_FOUND
Muxer not found.