Statistics
| Branch: | Revision:

ffmpeg / libavutil / error.h @ 08675bb3

History | View | Annotate | Download (3.02 KB)

# Date Author Comment
22180e7a 04/22/2011 08:21 AM Stefano Sabatini

error: remove symbols which were deprecated before the big bump

The removal was not applied when merging the Libav patches, because
there was still code referencing the symbols.

Signed-off-by: Stefano Sabatini <>

8772156b 04/22/2011 01:54 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    APIChanges: document git revision for CODEC_CAP_SLICE_THREADS addition.
    Introduce slice threads flag.
    FATE: allow forcing thread-type when doing threaded fate runs.
    Use av_log_ask_for_sample() where appropriate....
8d67218b 04/21/2011 02:48 PM Stefano Sabatini

error: sort, pack, and align error code and string definitions

Signed-off-by: Diego Biurrun <>

a975dbc8 04/21/2011 05:10 AM Anton Khirnov

error: change AVERROR_EOF value

The current value is masking the POSIX error code EPIPE, which has a
different semantics.

This breaks API.

Signed-off-by: Stefano Sabatini <>
Signed-off-by: Anton Khirnov <>

79157f40 04/21/2011 05:10 AM Stefano Sabatini

error: remove AVERROR_NUMEXPECTED

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.

This breaks API.

Signed-off-by: Stefano Sabatini <>...

58f84639 04/21/2011 05:10 AM Stefano Sabatini

error: add error code AVERROR_OPTION_NOT_FOUND, and use it in opt.c

The new error code is better than AVERROR, which has a
completely different semantics ("No such file or directory").

Signed-off-by: Stefano Sabatini <>...

efb5fa79 04/20/2011 02:48 AM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master: (37 commits)
    In avcodec_open(), set return code to an error value only when an error occurs instead of unconditionally at the start of the function.
    lavc: remove reference to opt.h from Makefile.
    prefer avio_check() over url_exist()...
490a022d 04/19/2011 05:04 PM Anton Khirnov

lavu: remove misc disabled cruft

2d2b5a14 04/17/2011 09:59 PM Michael Niedermayer

10l, commit that should have been stashed into the merge.
Signed-off-by: Michael Niedermayer <>

c4079844 04/17/2011 09:43 PM Michael Niedermayer

Merge remote branch 'qatar/master'

  • qatar/master:
    ac3dec: fix processing of delta bit allocation information.
    vc1: fix fate-vc1 after previous commit.
    wmv3dec: fix playback of complex WMV3 files using simple_idct.
    make av_dup_packet() more cautious on allocation failures...
6001dad6 04/17/2011 05:31 PM Diego Biurrun

Replace more FFmpeg references by Libav.

2912e87a 03/19/2011 01:33 PM Mans Rullgard

Replace FFmpeg with Libav in licence headers

Signed-off-by: Mans Rullgard <>

bafa4dd3 03/15/2011 12:09 PM Nicolas George

Add AVERROR_EXIT.

This is different from AVERROR because calls that fail with EINTR
should usually be restarted.

Signed-off-by: Nicolas George <>
Signed-off-by: Ronald S. Bultje <>

0bc55f5d 12/19/2010 09:01 AM Nicolas George

Add AVERROR_*_NOT_FOUND codes.

Originally committed as revision 26056 to svn://svn.ffmpeg.org/ffmpeg/trunk

2eaf7e49 06/30/2010 08:09 PM Måns Rullgård

Improve av_strerror() documentation

Originally committed as revision 23910 to svn://svn.ffmpeg.org/ffmpeg/trunk

49bd8e4b 06/30/2010 03:38 PM Måns Rullgård

Fix grammar errors in documentation

Originally committed as revision 23904 to svn://svn.ffmpeg.org/ffmpeg/trunk

e2959f45 05/05/2010 09:44 PM Stefano Sabatini

Make av_strerror() return -1 even in the case when av_strerror_r() is
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....

441ea0ce 05/03/2010 09:56 PM Stefano Sabatini

Make av_strerror() print an error message mentioning the error code
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....

cf103fab 04/27/2010 10:26 PM Stefano Sabatini

Drop AVERROR_NOTSUPP at the next major bump, use AVERROR
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

ba87f080 04/20/2010 02:45 PM Diego Biurrun

Remove explicit filename from Doxygen @file commands.

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

87958234 03/25/2010 10:46 PM Stefano Sabatini

Implement av_strerror().

Originally committed as revision 22684 to svn://svn.ffmpeg.org/ffmpeg/trunk

0394c928 03/25/2010 10:46 PM Stefano Sabatini

Prefer '///< ...' doxygen inline syntax over '/**< ... */'.

Originally committed as revision 22683 to svn://svn.ffmpeg.org/ffmpeg/trunk

b748b9d6 03/25/2010 10:46 PM Stefano Sabatini

Use consistent punctuation rules for the error message descriptions.

Originally committed as revision 22682 to svn://svn.ffmpeg.org/ffmpeg/trunk

68006ed0 03/21/2010 04:34 PM Stefano Sabatini

Drop AVERROR_NOFMT at the next libavutil major bump.

Originally committed as revision 22626 to svn://svn.ffmpeg.org/ffmpeg/trunk

72af5d8a 03/19/2010 11:34 PM Stefano Sabatini

Change the definition of AVERROR_INVALIDDATA at the next libavutil
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

00291565 03/19/2010 11:34 PM Stefano Sabatini

Extend description for AVERROR_INVALIDDATA.

Originally committed as revision 22600 to svn://svn.ffmpeg.org/ffmpeg/trunk

6d2877f4 03/14/2010 10:25 PM Måns Rullgård

error.h: test EDOM instead of EINVAL

C99 doesn't require EINVAL, only EDOM, EILSEQ, and ERANGE.

Originally committed as revision 22530 to svn://svn.ffmpeg.org/ffmpeg/trunk

e4836e3c 03/14/2010 10:25 PM Måns Rullgård

Add missing includes to libavutil/error.h

Originally committed as revision 22529 to svn://svn.ffmpeg.org/ffmpeg/trunk

73ddbd9d 03/14/2010 09:16 PM Stefano Sabatini

Change the definition of AVERROR_NUMEXPECTED at the next libavutil
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

c6a7b97c 03/14/2010 01:32 AM Stefano Sabatini

Mark AVERROR_ENOENT for deletion at the next libavutil major bump.

The symbol is currently unused, AVERROR must be used instead.

Originally committed as revision 22519 to svn://svn.ffmpeg.org/ffmpeg/trunk

9b359f51 03/14/2010 01:32 AM Stefano Sabatini

Lexically sort the error code definitions.

Originally committed as revision 22518 to svn://svn.ffmpeg.org/ffmpeg/trunk

7c074320 03/13/2010 07:19 PM Stefano Sabatini

Mark AVERROR_ENOMEM to be deleted at the next major bump.

AVERROR 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

5ae092ee 03/13/2010 07:19 PM Stefano Sabatini

Replace all the occurrences of AVERROR_EIO with AVERROR, and mark
AVERROR_EIO for deletion at the next major bump.

Originally committed as revision 22513 to svn://svn.ffmpeg.org/ffmpeg/trunk

0edfa79b 03/13/2010 07:19 PM Stefano Sabatini

Make iff.c:decode_init return the value returned by
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

dbfa5e78 03/13/2010 09:52 AM Stefano Sabatini

Add missing parentheses around the AVERROR_PATCHWELCOME macro
definition.

Originally committed as revision 22502 to svn://svn.ffmpeg.org/ffmpeg/trunk

60c144f7 03/13/2010 09:43 AM Stefano Sabatini

Move error code definitions from libavcodec/avcodec.h to
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...