summaryrefslogtreecommitdiff
path: root/libavutil/error.h
Commit message (Collapse)AuthorAge
* avresample: Introduce AVFrame-based APILuca Barbato2014-08-10
|
* error.h: Do not circularly depend on avutil.hDiego Biurrun2013-12-25
|
* avutil: Add AVERROR_EXPERIMENTALNathan Caldwell2012-10-21
| | | | Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
* averror: make error values proper negative valuesJanne Grunau2012-10-11
| | | | Fixes stupid mistake in 25227c3a78fefd74bc6ea34032cd49ec8c8d9d85.
* averror: explicitly define AVERROR_* valuesJanne Grunau2012-10-10
|
* 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.
* doxy: provide a start page and document libavutilLuca Barbato2011-11-22
| | | | | | Introduce a basic layout, the subpages are currently left empty. Split libavutil in multiple groups as example of the structure
* error: sort, pack, and align error code and string definitionsStefano Sabatini2011-04-21
| | | | Signed-off-by: Diego Biurrun <diego@biurrun.de>
* error: change AVERROR_EOF valueAnton Khirnov2011-04-21
| | | | | | | | | | The current value is masking the POSIX error code EPIPE, which has a different semantics. This breaks API. Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it> Signed-off-by: Anton Khirnov <anton@khirnov.net>
* 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>
* lavu: remove misc disabled cruftAnton Khirnov2011-04-19
|
* 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
* Improve av_strerror() documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23910 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Fix grammar errors in documentationMåns Rullgård2010-06-30
| | | | Originally committed as revision 23904 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
* Remove explicit filename from Doxygen @file commands.Diego Biurrun2010-04-20
| | | | | | | | Passing an explicit filename to this command is only necessary if the documentation in the @file block refers to a file different from the one the block resides in. Originally committed as revision 22921 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
* Prefer '///< ...' doxygen inline syntax over '/**< ... */'.Stefano Sabatini2010-03-25
| | | | Originally committed as revision 22683 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Use consistent punctuation rules for the error message descriptions.Stefano Sabatini2010-03-25
| | | | Originally committed as revision 22682 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Drop AVERROR_NOFMT at the next libavutil major bump.Stefano Sabatini2010-03-21
| | | | Originally committed as revision 22626 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the definition of AVERROR_INVALIDDATA at the next libavutilStefano Sabatini2010-03-19
| | | | | | | major bump, using an FFmpeg specific error code rather than EINVAL, which has a quite different semantics. Originally committed as revision 22601 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Extend description for AVERROR_INVALIDDATA.Stefano Sabatini2010-03-19
| | | | Originally committed as revision 22600 to svn://svn.ffmpeg.org/ffmpeg/trunk
* error.h: test EDOM instead of EINVALMåns Rullgård2010-03-14
| | | | | | C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE. Originally committed as revision 22530 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing includes to libavutil/error.hMåns Rullgård2010-03-14
| | | | Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Change the definition of AVERROR_NUMEXPECTED at the next libavutilStefano Sabatini2010-03-14
| | | | | | | major bump, using an FFmpeg specific error code rather than EDOM, which has a quite different semantics. Originally committed as revision 22528 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark AVERROR_ENOENT for deletion at the next libavutil major bump.Stefano Sabatini2010-03-14
| | | | | | The symbol is currently unused, AVERROR(ENOENT) must be used instead. Originally committed as revision 22519 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Lexically sort the error code definitions.Stefano Sabatini2010-03-14
| | | | Originally committed as revision 22518 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Mark AVERROR_ENOMEM to be deleted at the next major bump.Stefano Sabatini2010-03-13
| | | | | | | AVERROR(ENOMEM) must be used instead, and there are no occurrences of AVERROR_ENOMEM in the FFmpeg basecode so it can be safely dropped. Originally committed as revision 22514 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Replace all the occurrences of AVERROR_EIO with AVERROR(EIO), and markStefano Sabatini2010-03-13
| | | | | | AVERROR_EIO for deletion at the next major bump. Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Make iff.c:decode_init return the value returned byStefano Sabatini2010-03-13
| | | | | | | | avctx->get_buffer() in case of error, rather than AVERROR_UNKNOWN which is deprecated, and mark AVERROR_UNKNOWN for deletion at the next major bump. Originally committed as revision 22512 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Add missing parentheses around the AVERROR_PATCHWELCOME macroStefano Sabatini2010-03-13
| | | | | | definition. Originally committed as revision 22502 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move error code definitions from libavcodec/avcodec.h toStefano Sabatini2010-03-13
libavutil/error.h. Error code definitions and handling code belong to libavutil, where they can be shared by all the libav* libraries. See the thread: Subject: [FFmpeg-devel] [PATCH] Move error codes definitions from lavc to lavu Date: Sun, 19 Jul 2009 12:09:16 +0200 Originally committed as revision 22501 to svn://svn.ffmpeg.org/ffmpeg/trunk