Mercurial > libavutil.hg
comparison error.h @ 892:3e77728d53e1 libavutil
Implement av_strerror().
author | stefano |
---|---|
date | Thu, 25 Mar 2010 22:46:35 +0000 |
parents | 5ab17eb3a54c |
children | 0795a743bda1 |
comparison
equal
deleted
inserted
replaced
891:5ab17eb3a54c | 892:3e77728d53e1 |
---|---|
55 #if LIBAVUTIL_VERSION_MAJOR > 50 | 55 #if LIBAVUTIL_VERSION_MAJOR > 50 |
56 #define AVERROR_INVALIDDATA (-MKTAG('I','N','D','A')) ///< Invalid data found when processing input | 56 #define AVERROR_INVALIDDATA (-MKTAG('I','N','D','A')) ///< Invalid data found when processing input |
57 #define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) ///< Number syntax expected in filename | 57 #define AVERROR_NUMEXPECTED (-MKTAG('N','U','E','X')) ///< Number syntax expected in filename |
58 #endif | 58 #endif |
59 | 59 |
60 /** | |
61 * Puts a description of the AVERROR code errnum in errbuf. | |
62 * In case of failure the global variable errno is set to indicate the | |
63 * error. | |
64 * | |
65 * @param errbuf_size the size in bytes of errbuf | |
66 * @return 0 on success, a negative value otherwise | |
67 */ | |
68 int av_strerror(int errnum, char *errbuf, size_t errbuf_size); | |
69 | |
60 #endif /* AVUTIL_ERROR_H */ | 70 #endif /* AVUTIL_ERROR_H */ |