summaryrefslogtreecommitdiff
path: root/libavutil/error.c
Commit message (Collapse)AuthorAge
* avutil: Add AVERROR_EXPERIMENTALNathan Caldwell2012-10-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* Don't include common.h from avutil.hMartin Storsjö2012-08-15
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* avutil: add AVERROR_UNKNOWNJustin Ruggles2012-02-25
| | | | | Useful to return instead of -1 when the cause of the error is unknown, typically from an external library.
* lavu: add AVERROR_BUG error valueLuca Barbato2011-12-19
| | | | | It should be used to mark codepath that can be reached only through programming error.
* error: sort, pack, and align error code and string definitionsStefano Sabatini2011-04-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* error: remove AVERROR_NUMEXPECTEDStefano Sabatini2011-04-21
| | | | | | | | | | | AVERROR_NUMEXPECTED is used only in the image muxer and demuxer, and has a too much specific meaning, which is better explained through a log message. Thus it can be replaced by AVERROR(EINVAL). This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.cStefano Sabatini2011-04-21
| | | | | | | | The new error code is better than AVERROR(ENOENT), which has a completely different semantics ("No such file or directory"). Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* Replace more FFmpeg references by Libav.Diego Biurrun2011-04-17
|
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Add AVERROR_EXIT.Nicolas George2011-03-15
| | | | | | | | This is different from AVERROR(EINTR) because calls that fail with EINTR should usually be restarted. Signed-off-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* Add AVERROR_*_NOT_FOUND codes.Nicolas George2010-12-19
| | | | Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_strerror() return -1 even in the case when av_strerror_r() isStefano Sabatini2010-05-05
| | | | | | | | | | not defined. This allows applications to check if av_strerror() cannot provide a meaningful representation for the provided error code, without having to actually check the filled string. Originally committed as revision 23031 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make av_strerror() print an error message mentioning the error codeStefano Sabatini2010-05-03
| | | | | | | | | number if strerror_r() did not succeed for whatever reason. This avoids the need for the application to fill the string in case strerror_r() fails, for example because the error code is not known. Originally committed as revision 23015 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop AVERROR_NOTSUPP at the next major bump, use AVERROR(ENOSYS)Stefano Sabatini2010-04-27
| | | | | | | | | | instead which is semantically equivalent. See the thread: Subject: [FFmpeg-devel] [RFC] The meaning of AVERROR_NOTSUPP Date: Sat, 27 Mar 2010 00:51:13 +0100 Originally committed as revision 22981 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Implement av_strerror().Stefano Sabatini2010-03-25
Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk