Macros

#define AVERROR(e)   (e)
 
#define AVUNERROR(e)   (e)
 
#define AVERROR_BSF_NOT_FOUND   (-0x39acbd08)
 Bitstream filter not found. More...
 
#define AVERROR_DECODER_NOT_FOUND   (-0x3cbabb08)
 Decoder not found. More...
 
#define AVERROR_DEMUXER_NOT_FOUND   (-0x32babb08)
 Demuxer not found. More...
 
#define AVERROR_ENCODER_NOT_FOUND   (-0x3cb1ba08)
 Encoder not found. More...
 
#define AVERROR_EOF   (-0x5fb9b0bb)
 End of file. More...
 
#define AVERROR_EXIT   (-0x2bb6a7bb)
 Immediate exit was requested; the called function should not be restarted. More...
 
#define AVERROR_FILTER_NOT_FOUND   (-0x33b6b908)
 Filter not found. More...
 
#define AVERROR_INVALIDDATA   (-0x3ebbb1b7)
 Invalid data found when processing input. More...
 
#define AVERROR_MUXER_NOT_FOUND   (-0x27aab208)
 Muxer not found. More...
 
#define AVERROR_OPTION_NOT_FOUND   (-0x2bafb008)
 Option not found. More...
 
#define AVERROR_PATCHWELCOME   (-0x3aa8beb0)
 Not yet implemented in Libav, patches welcome. More...
 
#define AVERROR_PROTOCOL_NOT_FOUND   (-0x30adaf08)
 Protocol not found. More...
 
#define AVERROR_STREAM_NOT_FOUND   (-0x2dabac08)
 Stream not found. More...
 
#define AVERROR_BUG   (-0x5fb8aabe)
 Bug detected, please report the issue. More...
 
#define AVERROR_UNKNOWN   (-0x31b4b1ab)
 Unknown error, typically from an external library. More...
 
#define AVERROR_EXPERIMENTAL   (-0x2bb2afa8)
 Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it. More...
 
#define AVERROR_INPUT_CHANGED   (-0x636e6701)
 Input changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_OUTPUT_CHANGED) More...
 
#define AVERROR_OUTPUT_CHANGED   (-0x636e6702)
 Output changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_INPUT_CHANGED) More...
 

Functions

int av_strerror (int errnum, char *errbuf, size_t errbuf_size)
 Put a description of the AVERROR code errnum in errbuf. More...
 

Detailed Description

Macro Definition Documentation

◆ AVERROR

◆ AVUNERROR

#define AVUNERROR (   e)    (e)

Definition at line 44 of file error.h.

◆ AVERROR_BSF_NOT_FOUND

#define AVERROR_BSF_NOT_FOUND   (-0x39acbd08)

Bitstream filter not found.

Definition at line 47 of file error.h.

◆ AVERROR_DECODER_NOT_FOUND

#define AVERROR_DECODER_NOT_FOUND   (-0x3cbabb08)

Decoder not found.

Definition at line 48 of file error.h.

◆ AVERROR_DEMUXER_NOT_FOUND

#define AVERROR_DEMUXER_NOT_FOUND   (-0x32babb08)

Demuxer not found.

Definition at line 49 of file error.h.

◆ AVERROR_ENCODER_NOT_FOUND

#define AVERROR_ENCODER_NOT_FOUND   (-0x3cb1ba08)

Encoder not found.

Definition at line 50 of file error.h.

◆ AVERROR_EOF

#define AVERROR_EOF   (-0x5fb9b0bb)

◆ AVERROR_EXIT

#define AVERROR_EXIT   (-0x2bb6a7bb)

Immediate exit was requested; the called function should not be restarted.

Examples:
transcode_aac.c.

Definition at line 52 of file error.h.

Referenced by add_samples_to_fifo(), convert_samples(), init_output_frame(), load_encode_and_write(), main(), open_input_file(), open_output_file(), and read_decode_convert_and_store().

◆ AVERROR_FILTER_NOT_FOUND

#define AVERROR_FILTER_NOT_FOUND   (-0x33b6b908)

Filter not found.

Examples:
filter_audio.c.

Definition at line 53 of file error.h.

Referenced by init_filter_graph().

◆ AVERROR_INVALIDDATA

#define AVERROR_INVALIDDATA   (-0x3ebbb1b7)

Invalid data found when processing input.

Definition at line 54 of file error.h.

◆ AVERROR_MUXER_NOT_FOUND

#define AVERROR_MUXER_NOT_FOUND   (-0x27aab208)

Muxer not found.

Definition at line 55 of file error.h.

◆ AVERROR_OPTION_NOT_FOUND

#define AVERROR_OPTION_NOT_FOUND   (-0x2bafb008)

Option not found.

Definition at line 56 of file error.h.

◆ AVERROR_PATCHWELCOME

#define AVERROR_PATCHWELCOME   (-0x3aa8beb0)

Not yet implemented in Libav, patches welcome.

Definition at line 57 of file error.h.

◆ AVERROR_PROTOCOL_NOT_FOUND

#define AVERROR_PROTOCOL_NOT_FOUND   (-0x30adaf08)

Protocol not found.

Definition at line 58 of file error.h.

◆ AVERROR_STREAM_NOT_FOUND

#define AVERROR_STREAM_NOT_FOUND   (-0x2dabac08)

Stream not found.

Definition at line 59 of file error.h.

◆ AVERROR_BUG

#define AVERROR_BUG   (-0x5fb8aabe)

Bug detected, please report the issue.

Definition at line 60 of file error.h.

◆ AVERROR_UNKNOWN

#define AVERROR_UNKNOWN   (-0x31b4b1ab)

Unknown error, typically from an external library.

Definition at line 61 of file error.h.

◆ AVERROR_EXPERIMENTAL

#define AVERROR_EXPERIMENTAL   (-0x2bb2afa8)

Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it.

Definition at line 62 of file error.h.

◆ AVERROR_INPUT_CHANGED

#define AVERROR_INPUT_CHANGED   (-0x636e6701)

Input changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_OUTPUT_CHANGED)

Definition at line 63 of file error.h.

◆ AVERROR_OUTPUT_CHANGED

#define AVERROR_OUTPUT_CHANGED   (-0x636e6702)

Output changed between calls. Reconfiguration is required. (can be OR-ed with AVERROR_INPUT_CHANGED)

Definition at line 64 of file error.h.

Function Documentation

◆ av_strerror()

int av_strerror ( int  errnum,
char *  errbuf,
size_t  errbuf_size 
)

Put a description of the AVERROR code errnum in errbuf.

In case of failure the global variable errno is set to indicate the error. Even in case of failure av_strerror() will print a generic error message indicating the errnum provided to errbuf.

Parameters
errnumerror code to describe
errbufbuffer to which description is written
errbuf_sizethe size in bytes of errbuf
Returns
0 on success, a negative value if a description for errnum cannot be found
Examples:
filter_audio.c, and transcode_aac.c.

Referenced by get_error_text(), and main().