FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
Error Codes
Common utility functions

Macros

#define AVERROR(e)   (e)
 
#define AVUNERROR(e)   (e)
 
#define FFERRTAG(a, b, c, d)   (-(int)MKTAG(a, b, c, d))
 
#define AVERROR_BSF_NOT_FOUND   FFERRTAG(0xF8,'B','S','F')
 Bitstream filter not found.
 
#define AVERROR_BUG   FFERRTAG( 'B','U','G','!')
 Internal bug, also see AVERROR_BUG2.
 
#define AVERROR_BUFFER_TOO_SMALL   FFERRTAG( 'B','U','F','S')
 Buffer too small.
 
#define AVERROR_DECODER_NOT_FOUND   FFERRTAG(0xF8,'D','E','C')
 Decoder not found.
 
#define AVERROR_DEMUXER_NOT_FOUND   FFERRTAG(0xF8,'D','E','M')
 Demuxer not found.
 
#define AVERROR_ENCODER_NOT_FOUND   FFERRTAG(0xF8,'E','N','C')
 Encoder not found.
 
#define AVERROR_EOF   FFERRTAG( 'E','O','F',' ')
 End of file.
 
#define AVERROR_EXIT   FFERRTAG( 'E','X','I','T')
 Immediate exit was requested; the called function should not be restarted.
 
#define AVERROR_EXTERNAL   FFERRTAG( 'E','X','T',' ')
 Generic error in an external library.
 
#define AVERROR_FILTER_NOT_FOUND   FFERRTAG(0xF8,'F','I','L')
 Filter not found.
 
#define AVERROR_INVALIDDATA   FFERRTAG( 'I','N','D','A')
 Invalid data found when processing input.
 
#define AVERROR_MUXER_NOT_FOUND   FFERRTAG(0xF8,'M','U','X')
 Muxer not found.
 
#define AVERROR_OPTION_NOT_FOUND   FFERRTAG(0xF8,'O','P','T')
 Option not found.
 
#define AVERROR_PATCHWELCOME   FFERRTAG( 'P','A','W','E')
 Not yet implemented in FFmpeg, patches welcome.
 
#define AVERROR_PROTOCOL_NOT_FOUND   FFERRTAG(0xF8,'P','R','O')
 Protocol not found.
 
#define AVERROR_STREAM_NOT_FOUND   FFERRTAG(0xF8,'S','T','R')
 Stream not found.
 
#define AVERROR_BUG2   FFERRTAG( 'B','U','G',' ')
 This is semantically identical to AVERROR_BUG it has been introduced in Libav after our AVERROR_BUG and with a modified value.
 
#define AVERROR_UNKNOWN   FFERRTAG( 'U','N','K','N')
 Unknown error, typically from an external library.
 
#define AVERROR_EXPERIMENTAL   (-0x2bb2afa8)
 Requested feature is flagged experimental. Set strict_std_compliance if you really want to use it.
 
#define AV_ERROR_MAX_STRING_SIZE   64
 
#define av_err2str(errnum)   av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum)
 Convenience macro, the return value should be used only directly in function arguments but never stand-alone.
 

Functions

int av_strerror (int errnum, char *errbuf, size_t errbuf_size)
 Put a description of the AVERROR code errnum in errbuf.
 
static char * av_make_error_string (char *errbuf, size_t errbuf_size, int errnum)
 Fill the provided buffer with a string containing an error string corresponding to the AVERROR code errnum.
 

Detailed Description

Macro Definition Documentation

#define AVERROR (   e)    (e)
Examples:
doc/examples/demuxing.c, doc/examples/filtering_audio.c, doc/examples/filtering_video.c, doc/examples/resampling_audio.c, and doc/examples/scaling_video.c.

Definition at line 43 of file error.h.

Referenced by a64_write_header(), a64multi_init_encoder(), aac_decode_frame(), aac_encode_frame(), aac_encode_init(), aacPlus_encode_init(), aasc_decode_init(), add_buffer_ref(), add_doubles_metadata(), add_file(), add_fragment(), add_interval(), add_shorts_metadata(), add_string_metadata(), add_to_queue(), add_tracked_method(), adp_read_header(), adpcm_decode_init(), adpcm_encode_init(), adts_aac_read_header(), adx_encode_frame(), adx_encode_init(), adx_read_header(), adx_read_packet(), aea_read_header(), aea_read_packet(), afc_read_header(), aic_decode_init(), aiff_read_header(), aiff_write_header(), aiff_write_packet(), al_get_error(), alac_encode_init(), alloc_and_copy(), alloc_buffers(), alloc_picture(), alloc_picture_tables(), alloc_scratch_buffers(), alloc_sequence_buffers(), alloc_sws_context(), alloc_table(), allocate_buffers(), allocate_frame_buffers(), allocate_sample_buffers(), amf_parse_object(), amr_handle_packet(), amr_read_header(), amr_read_packet(), amr_wb_encode_frame(), amr_wb_encode_init(), apc_read_header(), apc_read_packet(), ape_decode_frame(), ape_decode_init(), ape_read_header(), ape_read_packet(), ape_tag_read_field(), append_entry(), aqt_read_header(), asf_get_packet(), asf_read_picture(), asf_read_seek(), asf_read_stream_properties(), asf_write_header1(), asfrtp_parse_packet(), asink_query_formats(), ass_decode_init(), ass_encode_init(), ass_read_header(), ast_read_header(), ast_write_header(), atrac1_decode_init(), atrac3_decode_init(), audio_decode_frame(), audio_get_buffer(), audio_open(), audio_read_header(), audio_read_packet(), audio_write_header(), audio_write_packet(), aura_decode_init(), auto_matrix(), av_audio_fifo_drain(), av_audio_fifo_read(), av_audio_fifo_write(), av_bprint_alloc(), av_bprint_finalize(), av_buffer_make_writable(), av_buffer_realloc(), av_buffersink_get_frame_flags(), av_buffersink_get_samples(), av_buffersrc_add_frame_flags(), av_buffersrc_add_frame_internal(), av_copy_packet_side_data(), av_dict_set(), av_escape(), av_expr_parse(), av_expr_parse_and_eval(), av_fifo_grow(), av_fifo_realloc2(), av_file_map(), av_frame_copy_props(), av_frame_get_buffer(), av_frame_make_writable(), av_frame_ref(), av_get_channel_layout_channel_index(), av_get_output_timestamp(), av_grow_packet(), av_hash_alloc(), av_hmac_final(), av_image_alloc(), av_image_check_size(), av_image_copy_to_buffer(), av_image_fill_linesizes(), av_image_fill_pointers(), av_image_get_buffer_size(), av_image_get_linesize(), av_interleaved_write_frame(), av_new_packet(), av_opencl_buffer_read_image(), av_opencl_buffer_write_image(), av_opencl_create_kernel(), av_opencl_get_device_list(), av_opencl_init(), av_opencl_register_kernel_code(), av_opt_get(), av_opt_get_image_size(), av_opt_get_key_value(), av_opt_query_ranges_default(), av_opt_set(), av_opt_set_bin(), av_opt_set_from_string(), av_opt_set_image_size(), av_opt_set_video_rate(), av_packet_from_data(), av_packet_merge_side_data(), av_packet_shrink_side_data(), av_packet_split_side_data(), av_parse_color(), av_parse_time(), av_parse_video_rate(), av_parse_video_size(), av_pix_fmt_count_planes(), av_pix_fmt_get_chroma_sub_sample(), av_probe_input_buffer(), av_read_frame(), av_read_pause(), av_read_play(), av_reallocp_array(), av_samples_alloc(), av_samples_alloc_array_and_samples(), av_samples_get_buffer_size(), av_sdp_create(), av_size_mult(), av_strerror(), av_tempfile(), av_usleep(), avcodec_copy_context(), avcodec_decode_audio4(), avcodec_decode_subtitle2(), avcodec_decode_video2(), avcodec_encode_audio2(), avcodec_encode_video2(), avcodec_fill_audio_frame(), avcodec_get_context_defaults3(), avcodec_open2(), avfilter_config_links(), avfilter_copy_frame_props(), avfilter_graph_create_filter(), avfilter_graph_parse(), avfilter_graph_parse2(), avfilter_graph_parse_ptr(), avfilter_graph_send_command(), avfilter_init_str(), avfilter_link(), avfilter_process_command(), avfilter_thread_init(), avfilter_transform(), avformat_alloc_output_context2(), avformat_find_stream_info(), avformat_match_stream_specifier(), avformat_open_input(), avformat_queue_attached_pictures(), avformat_seek_file(), avi_read_header(), avi_read_tag(), avi_write_header(), avi_write_ix(), avi_write_packet(), avio_get_str(), avio_pause(), avio_seek(), avio_seek_time(), avio_size(), avpriv_set_systematic_pal2(), avpriv_vsnprintf(), avr_read_header(), avresample_build_matrix(), avresample_get_matrix(), avresample_open(), avresample_set_channel_mapping(), avresample_set_compensation(), avresample_set_matrix(), avs_read_audio_packet(), avs_read_packet(), avs_read_video_packet(), avui_decode_frame(), avui_encode_init(), bfi_read_header(), bfi_read_packet(), bluray_open(), bluray_read(), bluray_seek(), bmp_decode_frame(), bmv_read_header(), bmv_read_packet(), build_filter(), bytestream2_seek(), bytestream2_seek_p(), caca_write_header(), cache_read(), cache_seek(), caf_write_packet(), cbr_bit_allocation(), cdata_read_header(), cdg_decode_frame(), cdg_decode_init(), cdg_tile_block(), cdxl_decode_frame(), cdxl_read_packet(), celt_header(), channelmap_config_input(), channelmap_filter_frame(), channelmap_init(), che_configure(), check_timecode(), cin_read_frame_header(), cin_read_header(), cinepak_decode_init(), cinvideo_decode_init(), cllc_decode_frame(), cmdutils_read_file(), cmv_decode_init(), cng_decode_init(), cng_encode_init(), codec_reinit(), codecctl_int(), command(), common_init(), compact_init(), compute_mask(), compute_mask_matrix(), compute_pkt_fields2(), concat_open(), concat_read_header(), concat_seek(), concatenate_packet(), config_audio_output(), config_input(), config_input_props(), config_input_ref(), config_output(), config_output_props(), config_props(), config_props_input(), config_props_output(), config_video_output(), configure_filtergraph(), cook_decode_init(), copy_chapters(), copy_from(), copy_moof(), copy_packet_data(), cpia_decode_init(), create_audio_stream(), create_filter(), create_map(), create_vorbis_context(), crypto_open2(), data_open(), daud_header(), daud_packet(), dc1394_read_common(), dca_decode_frame(), decimate_init(), decode(), decode_8(), decode_audio(), decode_audio_specific_config(), decode_block(), decode_frame(), decode_i_frame(), decode_init(), decode_init_thread_copy(), decode_main_header(), decode_p_frame(), decode_packet(), decode_pic(), decode_pic_hdr(), decode_picture_header(), decode_slice(), decode_stream_header(), decode_subframe_lpc(), decode_text_chunk(), decode_thread(), decode_update_thread_context(), decode_video(), decode_wave_header(), decode_zbuf(), decoder_init(), deinvert_buffer(), device_init(), device_open(), device_try_init(), dfa_decode_init(), dfa_read_header(), dfa_read_packet(), dh_is_valid_public_key(), dilate_init(), do_adobe_auth(), do_llnw_auth(), do_tls_poll(), dpcm_decode_frame(), dpcm_decode_init(), draw_glyphs(), draw_text(), dshow_add_device(), dshow_cycle_pins(), dshow_open_device(), dshow_read_header(), dshow_read_packet(), dshow_set_audio_buffer_size(), dtshd_read_header(), dv1394_read_header(), dv1394_read_packet(), dv_read_header(), dv_read_packet(), dvdsub_parse_extradata(), dvvideo_init_encoder(), dxa_read_header(), dxa_read_packet(), dxtory_decode_v2(), dyn_buf_write(), ea_read_header(), ea_read_packet(), ebml_parse_elem(), ebml_read_ascii(), ebml_read_binary(), ebml_read_master(), ebml_read_num(), eightsvx_decode_frame(), encode_dvd_subtitles(), encode_frame(), encode_init(), encode_intervals(), encode_picture_ls(), encode_superframe(), epaf_read_header(), escape130_decode_init(), estimate_timings_from_pts(), eval_function(), expand_function(), expand_text(), expand_tseq(), extract_header(), Faac_encode_init(), fbdev_read_header(), fbdev_read_packet(), ff_ac3_float_mdct_init(), ff_ac3_validate_metadata(), ff_add_index_entry(), ff_add_param_change(), ff_af_queue_add(), ff_alloc_packet2(), ff_alloc_picture(), ff_alsa_extend_reorder_buf(), ff_alsa_open(), ff_alsa_xrun_recover(), ff_amf_read_string(), ff_ass_add_rect(), ff_ass_subtitle_header(), ff_audio_data_combine(), ff_audio_data_copy(), ff_audio_data_init(), ff_audio_data_read_from_fifo(), ff_audio_data_realloc(), ff_audio_data_set_channels(), ff_audio_mix_get_matrix(), ff_audio_mix_set_matrix(), ff_audio_resample(), ff_avc_write_annexb_extradata(), ff_avfilter_graph_config_pointers(), ff_bgmc_init(), ff_cavs_init(), ff_ccitt_unpack(), ff_celt_error_to_averror(), ff_combine_frame(), ff_dh_compute_shared_secret_key(), ff_dh_generate_public_key(), ff_dh_write_public_key(), ff_draw_init(), ff_dualinput_filter_frame_main(), ff_dualinput_filter_frame_second(), ff_dualinput_request_frame(), ff_fill_rgba_map(), ff_filter_frame_framed(), ff_flac_parse_picture(), ff_flv_decode_picture_header(), ff_frame_thread_encoder_init(), ff_graph_thread_init(), ff_h263_decode_frame(), ff_h263_decode_init(), ff_h263_handle_packet(), ff_h264_alloc_tables(), ff_huffyuv_alloc_temp(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_init_buffer_info(), ff_init_vlc_sparse(), ff_interleave_add_packet(), ff_ivi_init_planes(), ff_ivi_init_tiles(), ff_jpeg2000_dwt_init(), ff_jpeg2000_init_component(), ff_jpegls_decode_lse(), ff_listen_connect(), ff_load_image(), ff_lock_avcodec(), ff_lpc_init(), ff_mjpeg_decode_frame(), ff_mjpeg_find_marker(), ff_mov_add_hinted_packet(), ff_mov_init_hinting(), ff_mov_read_stsd_entries(), ff_mov_write_packet(), ff_mp4_read_dec_config_descr(), ff_mpeg_update_thread_context(), ff_MPV_encode_init(), ff_mpv_export_qp_table(), ff_mpv_frame_size_alloc(), ff_mss12_decode_init(), ff_network_wait_fd(), ff_network_wait_fd_timeout(), ff_opencl_set_parameter(), ff_opencl_transform(), ff_opus_error_to_averror(), ff_parse_channel_layout(), ff_parse_fmtp(), ff_parse_pixel_format(), ff_parse_sample_format(), ff_parse_sample_rate(), ff_parse_time_base(), ff_pcm_read_packet(), ff_poll_interrupt(), ff_raw_audio_read_header(), ff_raw_data_read_header(), ff_raw_read_partial_packet(), ff_raw_video_read_header(), ff_read_packet(), ff_rm_retrieve_cache(), ff_rtmp_calc_digest(), ff_rtmp_packet_create(), ff_rtmp_packet_read(), ff_rtmp_packet_read_internal(), ff_rtmpe_gen_pub_key(), ff_rtp_chain_mux_open(), ff_rtp_parse_packet(), ff_rtsp_open_transport_ctx(), ff_rtsp_setup_output_streams(), ff_scale_image(), ff_slice_buffer_init(), ff_sndio_open(), ff_snow_common_init_after_header(), ff_spdif_read_packet(), ff_srtp_set_crypto(), ff_subtitles_queue_seek(), ff_thread_ref_frame(), ff_thread_video_encode_frame(), ff_udp_set_remote_url(), ff_vda_create_decoder(), ff_vdpau_add_buffer(), ff_voc_get_packet(), ff_vp56_init_context(), ff_wms_parse_sdp_a_line(), ff_xvid_rate_control_init(), ffio_ensure_seekback(), ffio_fdopen(), ffio_rewind_with_probe_data(), ffio_set_buf_size(), ffm2_read_header(), ffm_is_avail_data(), ffm_read_header(), ffm_read_packet(), ffm_read_write_index(), ffm_write_header(), ffm_write_write_index(), ffurl_get_multi_file_handle(), ffurl_read(), ffurl_read_complete(), ffurl_seek(), ffurl_shutdown(), ffurl_write(), ffv1_allocate_initial_states(), ffv1_common_init(), ffv1_init_slice_contexts(), ffv1_init_slice_state(), ffv1_init_slices_state(), fieldmatch_init(), file_check(), file_read(), file_write(), film_read_header(), film_read_packet(), filter_frame(), filter_query_formats(), find_headers_search_validate(), find_reorder_func(), flac_encode_init(), flac_parse_init(), flac_read_header(), flac_write_block_comment(), flac_write_header(), flashsv_decode_frame(), flashsv_encode_frame(), flashsv_encode_init(), flat_init(), floor_encode(), flush_frames(), flv_data_packet(), flv_get_extradata(), flv_queue_extradata(), flv_read_header(), flv_read_packet(), flv_write_header(), flv_write_packet(), fourxm_read_header(), fourxm_read_packet(), frame_list_add_frame(), frame_thread_init(), frei0r_init(), frm_read_header(), ftp_auth(), ftp_connect_control_connection(), ftp_current_dir(), ftp_file_size(), ftp_get_file_handle(), ftp_passive_mode(), ftp_read(), ftp_restart(), ftp_retrieve(), ftp_seek(), ftp_shutdown(), ftp_store(), ftp_type(), ftp_write(), g2m_decode_frame(), g2m_decode_init(), g2m_init_buffers(), g2m_load_cursor(), g722_encode_init(), g722_read_header(), g723_1_init(), g729_read_header(), generate_dither_noise(), generate_mask(), geq_filter_frame(), geq_init(), get_audio_buffer(), get_audio_flags(), get_buffer(), get_buffer2(), get_buffer_internal(), get_channel(), get_channel_idx(), get_chunk_header(), get_codec_data(), get_cookies(), get_device_list(), get_format(), get_format_from_sample_fmt(), get_http_header_data(), get_input_packet(), get_key(), get_metadata(), get_packet(), get_pix_fmt_depth(), get_private_data(), get_sindex(), get_siz(), get_stats(), get_tag(), get_tcp_server_response(), get_video_buffer(), get_video_private_data(), gif_decode_frame(), gif_decode_init(), gif_encode_frame(), gif_encode_init(), gif_image_write_image(), gif_read_header(), gif_read_image(), gif_read_packet(), gif_write_header(), gif_write_packet(), gopher_connect(), grab_read_header(), grab_read_packet(), graph_check_validity(), graph_config_formats(), gsm_read_header(), gsm_read_packet(), guess_channel_layout(), gxf_write_header(), h263_handle_packet(), h264_extradata_to_annexb(), h264_handle_packet(), h264_mp4toannexb_filter(), h264_slice_header_init(), handle_chunk_type(), handle_connection(), handle_file(), handle_notify(), handle_packets(), hls_mux_init(), hls_open(), hls_read_header(), hls_read_seek(), hls_start(), hls_write_header(), http_open_cnx(), http_prepare_data(), http_receive_data(), http_send_data(), http_server(), ico_check_attributes(), ico_write_header(), ico_write_packet(), id3v2_put_ttag(), idcin_read_header(), idcin_read_packet(), iec61883_read_header(), iec61883_receive_task(), iff_read_header(), iff_read_packet(), ilbc_decode_init(), ilbc_encode_init(), ilbc_parse_fmtp(), ilbc_parse_sdp_line(), ilbc_read_header(), ilbc_read_packet(), ilbc_write_header(), image_get_linesize(), img_read_header(), img_read_packet(), ingenient_read_packet(), init(), init_audio(), init_buffers(), init_bundles(), init_context_frame(), init_convert_timestamp(), init_cook_mlt(), init_dict(), init_er(), init_filter_param(), init_frames(), init_input_stream(), init_mdct_win(), init_muxer(), init_noise(), init_opencl_env(), init_pattern_from_file(), init_pattern_from_string(), init_report(), init_table_pools(), init_tile(), init_tiles(), init_video(), insert_trim(), interleave_new_audio_packet(), interpolate(), ipmovie_read_header(), ipmovie_read_packet(), ipvideo_decode_init(), ircam_read_header(), ircam_write_header(), ism_flush(), ism_seek(), ism_write_header(), iss_read_header(), iss_read_packet(), ivf_write_header(), ivi_init_tiles(), jacosub_read_header(), join_config_output(), join_init(), join_request_frame(), jpeg_parse_packet(), jpg_decode_data(), lag_decode_frame(), latm_decode_audio_specific_config(), latm_parse_packet(), lavfi_read_header(), lavfi_read_packet(), libcelt_dec_init(), libopenjpeg_encode_frame(), libopenjpeg_encode_init(), libopus_configure_encoder(), libopus_decode_init(), libopus_encode_init(), libquvi_probe(), libquvi_read_header(), libschroedinger_decode_frame(), libshine_encode_init(), link_filter_inouts(), list_standards(), lmlm4_read_header(), lmlm4_read_packet(), load_font_file(), load_glyph(), load_input_picture(), load_mask(), load_path(), load_textfile(), loas_read_header(), lvf_read_header(), lxf_read_header(), lxf_read_packet(), main(), matroska_decode_buffer(), matroska_parse_frame(), matroska_parse_laces(), matroska_parse_rm_audio(), matroska_parse_wavpack(), matroska_read_header(), mca(), md5_close(), md5_open(), microdvd_read_header(), mimic_decode_frame(), mimic_decode_init(), mimic_init_thread_copy(), mjpeg2jpeg_filter(), mkv_add_cuepoint(), mkv_add_seekhead_entry(), mkv_strip_wavpack(), mkv_write_attachments(), mkv_write_codecprivate(), mkv_write_header(), mkv_write_packet(), mkv_write_packet_internal(), mkv_write_tracks(), mkv_write_trailer(), mmap_init(), mmap_read_frame(), mmap_release_buffer(), mmap_start(), mmf_read_header(), mms_open(), mms_read(), mmsh_open_internal(), mmsh_read_seek(), mmsh_seek(), modplug_load_metadata(), modplug_read_header(), modplug_read_packet(), mov_flush_fragment(), mov_metadata_raw(), mov_open_dref(), mov_read_cmov(), mov_read_covr(), mov_read_ctts(), mov_read_dref(), mov_read_dvc1(), mov_read_extradata(), mov_read_ftyp(), mov_read_glbl(), mov_read_hdlr(), mov_read_sbgp(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_trak(), mov_read_trex(), mov_read_trun(), mov_read_uuid(), mov_read_wave(), mov_text_encode_frame(), mov_text_encode_init(), mov_write_dvc1_structs(), mov_write_header(), mov_write_tmcd_tag(), movie_common_init(), movie_push_frame(), mp3_read_header(), mp3lame_encode_frame(), mp3lame_encode_init(), mp_decode_frame(), MPA_encode_init(), mpc7_decode_frame(), mpc8_read_header(), mpc8_read_packet(), mpc_read_header(), mpc_read_packet(), mpeg_field_start(), mpeg_mux_init(), mpeg_parse_packet(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_handle_packet(), mpegts_init(), mpegts_push_data(), mpegts_raw_read_packet(), mpegts_read_packet(), mpegts_set_stream_info(), mpegts_write_header(), mpegts_write_packet_internal(), mpl2_read_header(), mpsub_read_header(), msnwc_tcp_read_header(), mss2_decode_init(), mss3_decode_init(), mss4_decode_init(), mtv_read_header(), mv_read_header(), mv_read_packet(), mv_read_seek(), mvc_decode_init(), mxf_add_metadata_set(), mxf_compute_index_tables(), mxf_compute_ptses_fake_index(), mxf_decrypt_triplet(), mxf_get_sorted_table_segments(), mxf_parse_structural_metadata(), mxf_read_content_storage(), mxf_read_generic_descriptor(), mxf_read_index_entry_array(), mxf_read_local_tags(), mxf_read_material_package(), mxf_read_partition_pack(), mxf_read_primer_pack(), mxf_read_sequence(), mxf_read_source_package(), mxf_read_utf16_string(), mxf_set_audio_pts(), mxf_timestamp_to_str(), mxf_uid_to_str(), mxf_write_header(), mxg_read_header(), mxg_read_packet(), mxg_update_cache(), mxpeg_check_dimensions(), mxpeg_decode_frame(), mxpeg_decode_mxm(), nc_read_header(), nc_read_packet(), nist_read_header(), noise(), normalize_double(), nsv_parse_NSVf_header(), nut_read_header(), nut_write_header(), nut_write_packet(), nuv_header(), nuv_packet(), ogg_buffer_page(), ogg_build_flac_headers(), ogg_build_opus_headers(), ogg_build_speex_headers(), ogg_new_stream(), ogg_read_page(), ogg_write_header(), oggvorbis_encode_init(), oma_read_header(), oma_write_header(), open_filter_param(), open_input(), open_input_file(), open_null_ctx(), open_output_file(), open_slave(), open_stream(), opt_channel_layout(), opt_codec(), opt_filter_complex(), opt_filter_complex_script(), opt_format(), opt_sameq(), opt_show_entries(), opt_target(), opus_header(), output_frame(), packetizer_read(), pad_last_frame(), paf_vid_init(), parse_channel_name(), parse_command(), parse_command_line(), parse_commands(), parse_cube(), parse_expr(), parse_factor(), parse_file(), parse_fmtp_config(), parse_fragment(), parse_frames(), parse_inputs(), parse_interval(), parse_intervals(), parse_iplconvkernel(), parse_key_value_pair(), parse_keyframes_index(), parse_maps(), parse_MP4DecConfigDescrTag(), parse_named_def(), parse_optgroup(), parse_option(), parse_options(), parse_outputs(), parse_packed_headers(), parse_packet(), parse_playlist(), parse_points_str(), parse_primary(), parse_psfile(), parse_rule(), parse_setup_header(), parse_string(), parse_strk(), parse_subexpr(), parse_sws_flags(), parse_synth_channel(), parse_synth_channel_bell(), parse_synth_channel_sine(), parse_synth_channel_spin(), parse_term(), parse_time_sequence(), parse_times(), parse_volume(), parse_vtrk(), pcm_decode_frame(), pcm_decode_init(), pcm_read_header(), pcx_decode_frame(), pick_format(), pjs_read_header(), pmp_header(), pmp_packet(), png_dec_init(), png_enc_init(), pnm_decode_frame(), pnm_encode_frame(), pp_config_props(), pp_filter_frame(), pp_process_command(), process_command(), process_frame_obj(), process_input(), process_line(), process_options(), prores_encode_init(), pulse_read_header(), pulse_read_packet(), push_samples(), put_codeword(), put_main_header(), pva_read_header(), pva_read_packet(), pvf_read_header(), pxr24_uncompress(), qcp_read_header(), qdm2_parse_config(), qdm2_parse_packet(), qt_rtp_parse_packet(), qtrle_encode_init(), query_formats(), queue_frames(), r3d_read_rdvo(), r3d_read_red1(), raw_decode(), raw_init_decoder(), rawvideo_read_header(), rdt_parse_sdp_line(), read_audio_mux_element(), read_data_packet(), read_desc_chunk(), read_frame(), read_frame_internal(), read_from_fifo(), read_header(), read_header_gme(), read_kuki_chunk(), read_line(), read_number(), read_packet(), read_part_of_packet(), read_seek(), read_shape_from_file(), read_specific_config(), read_tag(), read_tfra(), read_whole_file(), ready_codebook(), ready_residue(), real_seek(), realloc_buffer(), realtext_read_header(), reap_filters(), recode_subtitle(), reconfigure_at_keyframe(), recv_msg(), redspark_read_header(), redspark_read_packet(), request_frame(), resample(), residue_encode(), ret_str(), retry_transfer_wrapper(), return_audio_frame(), return_frame(), rl2_decode_init(), rl2_read_header(), rl2_read_packet(), rm_assemble_video_frame(), rm_read_audio_stream_info(), rm_read_extradata(), rm_read_header(), rm_read_packet(), roq_decode_init(), roq_dpcm_encode_init(), roq_encode_init(), roq_read_header(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rsd_read_header(), rso_read_header(), rtmp_calc_swf_verification(), rtmp_calc_swfhash(), rtmp_handshake(), rtmp_http_open(), rtmp_http_read(), rtmp_http_write(), rtmp_open(), rtmp_read_seek(), rtmp_receive_hs_packet(), rtmp_send_hs_packet(), rtmp_server_handshake(), rtmp_write(), rtmp_write_amf_data(), rtp_get_multi_file_handle(), rtp_open(), rtp_parse_mp4_au(), rtp_parse_packet_internal(), rtp_read(), rtp_send_samples(), rtp_write_header(), rtp_write_packet(), rtsp_read_announce(), rtsp_read_header(), rtsp_read_packet(), rtsp_read_request(), rtsp_send_reply(), rtsp_write_packet(), rv34_decoder_alloc(), s302m_encode_init(), sami_read_header(), sap_fetch_packet(), sap_read_header(), sap_write_header(), sap_write_packet(), sbg_read_header(), sbg_read_packet(), sbg_read_seek2(), scale_double(), sctp_open(), sctp_wait_fd(), sctp_write(), sdl_write_header(), sdp_parse_fmtp_config_h264(), seek_frame_generic(), seg_write_header(), segment_end(), segment_mux_init(), select_reference_stream(), select_voice(), send_command_packet(), send_silence(), seq_fill_buffer(), seq_init_frame_buffers(), seq_read_header(), seq_read_packet(), set_channel_info(), set_enable_expr(), set_expr(), set_format(), set_param(), set_params(), set_segment_filename(), set_string_binary(), sgirle_decode_init(), shift_data(), shorten_decode_frame(), siff_parse_vbv1(), siff_read_packet(), smacker_decode_header_tree(), smacker_read_header(), smacker_read_packet(), smjpeg_read_header(), smjpeg_write_header(), smka_decode_frame(), smka_decode_init(), smooth_init(), smush_read_header(), smush_read_packet(), smvjpeg_decode_frame(), smvjpeg_decode_init(), sol_read_packet(), source_config_props(), source_init(), source_request_frame(), sox_read_header(), spdif_header_aac(), spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_write_header(), spdif_write_packet(), srt_encode_frame(), srt_read_header(), srt_write_header(), Stagefright_decode_frame(), Stagefright_init(), start_jack(), storeframe(), str_read_header(), str_read_packet(), stream_toggle_pause(), sub2video_prepare(), submit_stats(), subviewer1_read_header(), subviewer_read_header(), sunrast_decode_frame(), sunrast_encode_init(), svq1_decode_frame(), svq1_decode_init(), svq3_decode_frame(), svq3_decode_init(), svq3_parse_packet(), swf_read_header(), swf_read_packet(), swf_write_header(), swr_init(), swr_set_channel_mapping(), swr_set_compensation(), swr_set_matrix(), swri_dither_init(), swri_realloc_audio(), sws_init_context(), sws_scale(), tak_decode_frame(), tak_parse(), tak_read_header(), targa_encode_frame(), tcp_open(), tedcaptions_read_header(), tee_write_header(), tee_write_packet(), tgv_decode_frame(), thp_read_header(), thp_read_packet(), thread_get_buffer_internal(), tiff_decode_tag(), tiff_unpack_fax(), tiff_unpack_strip(), tls_open(), tmv_read_header(), tqi_decode_frame(), transcode(), transcode_from_filter(), transcode_init(), transcode_step(), try_decode_frame(), try_filter_frame(), try_filter_next_frame(), try_seek(), tscc2_decode_init(), tta_decode_init(), tta_encode_init(), tta_read_header(), twin_decode_frame(), twolame_encode_init(), txd_read_header(), udp_open(), udp_read(), udp_set_multicast_sources(), udp_set_url(), update_context_from_user(), update_dimensions(), update_frame_pool(), update_md5_sum(), url_alloc_for_protocol(), url_open_dyn_buf_internal(), utvideo_encode_frame(), utvideo_encode_init(), v308_decode_frame(), v308_encode_init(), v408_decode_frame(), v408_encode_init(), v410_decode_frame(), v410_encode_init(), v4l2_read_header(), v4l2_set_parameters(), v4l_mm_read_picture(), validate_options(), vble_decode_init(), vc1_decode_frame(), vc1t_read_packet(), vcr1_decode_frame(), vda_h264_decode_slice(), vfw_read_header(), vfw_read_packet(), vid_read_packet(), video_get_buffer(), vivo_read_header(), vmd_read_header(), vmd_read_packet(), vmdaudio_decode_frame(), vmdaudio_decode_init(), vmdvideo_decode_init(), voc_read_header(), voc_write_header(), vorbis_encode_frame(), vorbis_error_to_averror(), vorbis_header(), vorbis_parse_id_hdr(), vorbis_parse_setup_hdr_codebooks(), vorbis_parse_setup_hdr_floors(), vorbis_parse_setup_hdr_mappings(), vorbis_parse_setup_hdr_modes(), vorbis_parse_setup_hdr_residues(), vp8_alloc_frame(), vp8_broken_sequence(), vp8_encode(), vp8_handle_packet(), vp8_init_frames(), vp8_ref_frame(), vplayer_read_header(), vpx_init(), vqa_decode_init(), vqf_read_header(), vqf_read_packet(), wavesynth_decode(), wavesynth_init(), wavesynth_parse_extradata(), wavpack_encode_init(), wc3_read_header(), wc3_read_packet(), webvtt_read_header(), wma_decode_init(), write_fragments(), write_frame(), write_header(), write_number(), write_packet(), write_streamheader(), writer_open(), writer_register(), ws_snd_decode_frame(), wsaud_read_header(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_header(), wv_read_packet(), wv_read_seek(), wv_write_header(), wv_write_packet(), x11grab_read_header(), X264_init(), xa_read_header(), xan_decode_frame(), xan_decode_init(), XAVS_init(), xface_decode_init(), xface_encode_frame(), xface_encode_init(), xiph_handle_packet(), xiph_parse_fmtp_pair(), xml_init(), xmv_fetch_audio_packet(), xmv_fetch_new_packet(), xmv_fetch_video_packet(), xmv_process_packet_header(), xmv_read_header(), xv_write_header(), xwd_encode_frame(), xwma_read_header(), y216_decode_frame(), y41p_decode_frame(), y41p_encode_init(), yae_flush(), yae_load_data(), yae_load_frag(), yae_overlap_add(), yae_reset(), yae_set_tempo(), yop_read_header(), yuv4_decode_frame(), yuv4_encode_init(), yuv4_read_header(), yuv4_read_packet(), zerocodec_decode_init(), and zip_uncompress().

#define AVUNERROR (   e)    (e)
#define FFERRTAG (   a,
  b,
  c,
 
)    (-(int)MKTAG(a, b, c, d))

Definition at line 47 of file error.h.

#define AVERROR_BSF_NOT_FOUND   FFERRTAG(0xF8,'B','S','F')

Bitstream filter not found.

Definition at line 49 of file error.h.

Referenced by init().

#define AVERROR_BUG   FFERRTAG( 'B','U','G','!')
#define AVERROR_BUFFER_TOO_SMALL   FFERRTAG( 'B','U','F','S')

Buffer too small.

Definition at line 51 of file error.h.

Referenced by encode_dvd_subtitles(), and read_header_gme().

#define AVERROR_DECODER_NOT_FOUND   FFERRTAG(0xF8,'D','E','C')

Decoder not found.

Definition at line 52 of file error.h.

Referenced by av_find_best_stream().

#define AVERROR_DEMUXER_NOT_FOUND   FFERRTAG(0xF8,'D','E','M')

Demuxer not found.

Definition at line 53 of file error.h.

#define AVERROR_ENCODER_NOT_FOUND   FFERRTAG(0xF8,'E','N','C')

Encoder not found.

Definition at line 54 of file error.h.

#define AVERROR_EOF   FFERRTAG( 'E','O','F',' ')

End of file.

Examples:
doc/examples/filtering_audio.c, and doc/examples/filtering_video.c.

Definition at line 55 of file error.h.

Referenced by adp_read_packet(), adx_read_packet(), afc_read_packet(), aiff_read_packet(), ape_read_packet(), asf_parse_packet(), asf_read_header(), ast_read_packet(), audio_read_packet(), av_buffersink_get_samples(), av_get_standard_channel_layout(), av_probe_input_buffer(), avfilter_graph_request_oldest(), avi_read_packet(), avi_sync(), avio_read(), avio_seek(), avisynth_read_packet(), avisynth_read_packet_audio(), avisynth_read_packet_video(), avisynth_read_seek(), bfi_read_packet(), bmv_read_packet(), calc_active_inputs(), cdxl_read_packet(), cmdutils_read_file(), concat_read_packet(), crypto_read(), data_read(), decode_video(), dfa_read_packet(), dtshd_read_header(), dxa_read_packet(), ebml_read_num(), ff_dualinput_request_frame(), ff_filter_frame_framed(), ff_mov_read_stsd_entries(), ff_request_frame(), ff_spdif_read_packet(), ff_subtitles_queue_read_packet(), ffio_read_partial(), ffm_is_avail_data(), film_read_packet(), filter_frame(), find_record(), flv_read_packet(), frm_read_packet(), g723_1_read_packet(), get_packet(), get_packet_header(), get_swf_tag(), gif_parse_next_image(), gif_read_packet(), gxf_packet(), hls_read(), hls_read_header(), hls_read_packet(), http_buf_read(), http_read(), idcin_read_header(), idcin_read_packet(), iff_read_packet(), img_read_packet(), ipmovie_read_header(), lavfi_read_packet(), lvf_read_header(), lvf_read_packet(), lxf_read_header(), lxf_read_packet(), main(), matroska_read_packet(), matroska_resync(), mmf_read_packet(), modplug_read_packet(), mov_read_ctts(), mov_read_dref(), mov_read_packet(), mov_read_sbgp(), mov_read_stco(), mov_read_stps(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_stts(), mov_read_trun(), movie_push_frame(), mp3_read_packet(), mpc8_read_packet(), mpc_read_packet(), mpegps_read_pes_header(), mv_read_packet(), mxf_read_packet(), mxf_read_packet_old(), mxg_read_packet(), next_byte(), nist_read_header(), nut_read_packet(), ogg_read_page(), oma_read_packet(), open_next_file(), parse_chunks(), parse_file(), pmp_packet(), poll_frame(), process_input(), push_frame(), qcp_read_packet(), raw_read_packet(), read_data(), read_header(), read_line(), read_packet(), read_packet_gme(), read_tfra(), read_thread(), read_whole_file(), reap_filters(), redspark_read_packet(), request_frame(), request_inlink(), request_samples(), resync(), ret_str(), retry_transfer_wrapper(), return_audio_frame(), rl2_read_packet(), rpl_read_packet(), rsd_read_packet(), rtmp_http_open(), rtmp_http_read(), rtmpe_read(), sap_fetch_packet(), sbg_read_packet(), siff_read_packet(), smacker_read_packet(), smjpeg_read_header(), smjpeg_read_packet(), smush_read_header(), smush_read_packet(), sync(), tak_read_header(), thp_read_packet(), tls_read(), tls_write(), tmv_read_packet(), transcode(), transcode_from_filter(), transcode_step(), tta_read_packet(), txd_read_packet(), vid_read_packet(), vivo_get_packet_header(), vivo_read_packet(), vmd_read_packet(), wv_read_block_header(), wv_read_packet(), xa_read_packet(), xmv_fetch_new_packet(), xwma_read_packet(), yop_read_header(), yop_read_packet(), and yuv4_read_packet().

#define AVERROR_EXIT   FFERRTAG( 'E','X','I','T')
#define AVERROR_EXTERNAL   FFERRTAG( 'E','X','T',' ')
#define AVERROR_FILTER_NOT_FOUND   FFERRTAG(0xF8,'F','I','L')

Filter not found.

Definition at line 58 of file error.h.

Referenced by insert_trim(), and lavfi_read_header().

#define AVERROR_INVALIDDATA   FFERRTAG( 'I','N','D','A')

Invalid data found when processing input.

Definition at line 59 of file error.h.

Referenced by aac_decode_frame(), aac_decode_init(), aac_parse_packet(), aasc_decode_frame(), ac3_decode_frame(), add_doubles_metadata(), add_metadata(), add_shorts_metadata(), add_string_metadata(), adpcm_decode_frame(), adpcm_decode_init(), adts_write_frame_header(), adx_decode_frame(), adx_decode_init(), adx_read_header(), aic_decode_coeffs(), aic_decode_frame(), aic_decode_header(), aiff_read_header(), alac_decode_frame(), alac_decode_init(), alac_set_info(), allocate_buffers(), allocate_frame_buffers(), amr_handle_packet(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), ape_decode_init(), ape_decode_value_3860(), ape_decode_value_3900(), ape_read_header(), asf_get_packet(), asf_read_file_properties(), asf_read_frame_header(), asf_read_header(), asf_read_picture(), ass_encode_frame(), ass_split(), ast_read_header(), ast_read_packet(), asv1_decode_block(), at1_imdct_block(), at1_parse_bsm(), at1_unpack_dequant(), atrac1_decode_frame(), atrac3_decode_frame(), atrac3_decode_init(), aura_decode_frame(), av_base64_decode(), av_bprint_alloc(), av_probe_input_buffer(), av_timecode_init_from_string(), avcodec_decode_subtitle2(), avi_read_header(), avi_read_idx1(), avi_read_seek(), avpriv_adx_decode_header(), avpriv_dirac_parse_sequence_header(), avpriv_mpeg4audio_get_config(), avpriv_vorbis_parse_frame(), avs_decode_frame(), avs_read_packet(), bethsoftvid_decode_frame(), bfi_decode_frame(), bink_decode_plane(), binkb_decode_plane(), binkb_read_bundle(), bit_allocation(), bmp_decode_frame(), bmv_aud_decode_frame(), bmv_read_packet(), brpix_decode_frame(), build_table(), caf_write_header(), cdxl_decode_frame(), cdxl_read_packet(), che_configure(), cin_decode_lzss(), cin_decode_rle(), cin_read_file_header(), cin_read_frame_header(), cinepak_decode(), cinepak_decode_strip(), cinepak_decode_vectors(), cinvideo_decode_frame(), cllc_decode_frame(), cmap_read_palette(), cmv_decode_frame(), codec2subblock(), concat_read_header(), concatenate_packet(), config_out_props(), config_output(), config_props_output(), cook_decode_frame(), cook_decode_init(), copy_block(), copy_cell(), copy_from(), cpia_decode_frame(), cyuv_decode_frame(), cyuv_decode_init(), dca_decode_block(), dca_decode_frame(), dca_parse_frame_header(), dca_parse_params(), dca_subframe_header(), dca_subsubframe(), dca_xbr_parse_frame(), decode_0(), decode_13(), decode_5(), decode_555(), decode_6(), decode_8(), decode_audio(), decode_audio_specific_config(), decode_band(), decode_band_hdr(), decode_band_types(), decode_bdlt(), decode_block(), decode_block_progressive(), decode_bmv_frame(), decode_cdlms(), decode_cell(), decode_channel(), decode_channel_sound_unit(), decode_chunks(), decode_coeffs(), decode_copy(), decode_cpe(), decode_dc_progressive(), decode_dds1(), decode_dsw1(), decode_element(), decode_envelope(), decode_format80(), decode_frame(), decode_frame_header(), decode_frame_headers(), decode_gain_control(), decode_group3_1d_line(), decode_group3_2d_line(), decode_header(), decode_i2_frame(), decode_i_block(), decode_i_frame(), decode_ics(), decode_ics_info(), decode_info_header(), decode_init(), decode_init_thread_copy(), decode_main_header(), decode_mb(), decode_mb_b(), decode_mb_info(), decode_mvc1(), decode_mvc2(), decode_p_block(), decode_p_frame(), decode_packet(), decode_pal_v2(), decode_pce(), decode_pic_hdr(), decode_picture_header(), decode_plane(), decode_prediction(), decode_q_branch(), decode_residual(), decode_residuals(), decode_residues(), decode_rle(), decode_scale_factors(), decode_scalefactors(), decode_segment(), decode_seq_header(), decode_slice(), decode_slice_header(), decode_spectrum_and_dequant(), decode_str(), decode_stream_header(), decode_subframe(), decode_subframe_fixed(), decode_subframe_length(), decode_subframe_lpc(), decode_syncpoint(), decode_tag(), decode_tdlt(), decode_text_chunk(), decode_tilehdr(), decode_tns(), decode_tonal_components(), decode_tsw1(), decode_vui_parameters(), decode_wave_header(), decode_wdlt(), decode_wmv9(), decorrelate(), decouple_info(), decrypt_init(), dfa_decode_frame(), dfa_decode_init(), dfa_read_header(), dirac_unpack_idwt_params(), dnxhd_init_vlc(), draw_glyph(), dtshd_read_header(), dv_extract_audio(), dxa_read_header(), dxa_read_packet(), dxtory_decode_v1(), dxtory_decode_v2(), ea_read_packet(), ebml_parse_elem(), ebml_parse_id(), ebml_read_float(), ebml_read_num(), ebml_read_uint(), eightsvx_decode_init(), encode_frame(), encode_init(), encode_line(), epaf_read_header(), escape124_decode_frame(), escape130_decode_frame(), escape130_decode_init(), expand_rle_row(), expand_script(), extract_header(), ff_amf_read_bool(), ff_amf_read_null(), ff_amf_read_number(), ff_amf_read_string(), ff_ass_add_rect(), ff_ass_split_override_codes(), ff_avc_write_annexb_extradata(), ff_celt_error_to_averror(), ff_dca_convert_bitstream(), ff_flac_parse_picture(), ff_flv_decode_picture_header(), ff_generate_sliding_window_mmcos(), ff_h263_decode_frame(), ff_h263_handle_packet(), ff_h264_decode_mb_cabac(), ff_h264_decode_mb_cavlc(), ff_h264_decode_picture_parameter_set(), ff_h264_decode_ref_pic_marking(), ff_h264_execute_ref_pic_marking(), ff_isom_write_avcc(), ff_ivi_dec_huff_desc(), ff_ivi_decode_frame(), ff_jpeg2000_init_component(), ff_jpegls_decode_lse(), ff_jpegls_decode_picture(), ff_mjpeg_decode_dht(), ff_mjpeg_decode_dqt(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), ff_mlp_read_major_sync(), ff_mms_asf_header_parser(), ff_mov_read_chan(), ff_mov_read_stsd_entries(), ff_MPV_common_frame_size_change(), ff_mss12_decode_init(), ff_opus_error_to_averror(), ff_pnm_decode_header(), ff_rtsp_setup_input_streams(), ff_rtsp_setup_output_streams(), ff_rv34_decode_frame(), ff_snow_common_init_after_header(), ff_srtp_decrypt(), ff_srtp_encrypt(), ff_tak_check_crc(), ff_tak_decode_frame_header(), ff_vc1_parse_frame_header_adv(), ff_vorbis_ready_floor1_list(), ff_wv_parse_header(), ffv1_common_init(), film_read_header(), filter_frame(), find_and_decode_index(), find_record(), find_unused_picture(), flac_decode_frame(), flac_decode_init(), flac_read_header(), flashsv2_prime(), flashsv_decode_frame(), flashsv_encode_init(), flic_decode_frame_8BPP(), flic_decode_init(), flush_packet(), flv_data_packet(), flv_write_header(), flv_write_packet(), fourxm_read_header(), fraps2_decode_plane(), frm_read_header(), frm_read_packet(), g2m_decode_frame(), g2m_load_cursor(), g722_encode_init(), g729_read_header(), gen_pong(), get_chunk_header(), get_coc(), get_cod(), get_cox(), get_geokey_type(), get_nb_samples(), get_packet_header(), get_pixel_format(), get_qcc(), get_qcx(), get_quant(), get_riff(), get_siz(), get_sot(), get_tcp_server_response(), get_ue_code(), get_ue_golomb(), gif_decode_frame(), gif_parse_next_image(), gif_read_ext(), gif_read_extension(), gif_read_header(), gif_read_header1(), gif_read_image(), gsm_decode_frame(), h263_handle_packet(), h264_handle_packet(), h264_set_parameter_from_sps(), handle_chunk_size(), handle_chunk_type(), handle_client_bw(), handle_notify(), handle_ping(), handle_server_bw(), idcin_decode_frame(), idcin_read_header(), idcin_read_packet(), iff_read_header(), ilbc_decode_frame(), ilbc_read_header(), imc_decode_block(), imc_decode_frame(), imc_get_coeffs(), init(), init_dimensions(), init_entropy_decoder(), init_get_bits(), init_image(), init_MP4DescrParseContext(), init_muxer(), init_pts(), inverse_quant_coeff(), ipmovie_read_header(), ipmovie_read_packet(), ir2_decode_frame(), ir2_decode_plane(), ir2_decode_plane_inter(), ircam_read_header(), iss_read_header(), ivi_create_huff_from_desc(), ivi_decode_blocks(), ivi_decode_coded_blocks(), ivi_mc(), ivi_process_empty_tile(), jpeg2000_decode_frame(), jpeg2000_decode_packet(), jpeg2000_read_main_headers(), jpeg_parse_packet(), jpg_decode_block(), kempf_decode_tile(), klv_decode_ber_length(), klv_read_packet(), kmvc_decode_inter_8x8(), kmvc_decode_intra_8x8(), lag_decode_arith_plane(), lag_decode_frame(), lag_decode_zero_run_line(), latm_decode_audio_specific_config(), latm_decode_extradata(), latm_decode_frame(), latm_write_header(), latm_write_packet(), libgsm_decode_frame(), libspeex_decode_frame(), libspeex_decode_init(), lvf_read_header(), lvf_read_packet(), lxf_read_header(), lxf_read_packet(), matroska_decode_buffer(), matroska_parse_block(), matroska_parse_laces(), matroska_parse_rm_audio(), matroska_parse_seekhead_entry(), matroska_parse_wavpack(), matroska_read_header(), mdec_decode_block_intra(), microdvd_decode_frame(), mimic_decode_frame(), mjpeg2jpeg_filter(), mjpeg_decode_app(), mjpeg_decode_dri(), mjpeg_decode_scan(), mjpeg_decode_scan_progressive_ac(), mjpegb_decode_frame(), mkv_strip_wavpack(), mkv_write_codecprivate(), mm_decode_frame(), mm_decode_inter(), mm_decode_intra(), mmap_read_frame(), mmf_read_header(), mms_safe_send_recv(), modplug_read_header(), mono_decode(), mov_read_cmov(), mov_read_ctts(), mov_read_dref(), mov_read_dvc1(), mov_read_elst(), mov_read_extradata(), mov_read_fiel(), mov_read_ftyp(), mov_read_glbl(), mov_read_header(), mov_read_packet(), mov_read_sbgp(), mov_read_seek(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_tfhd(), mov_read_tmcd(), mov_read_trex(), mov_read_trun(), mov_read_udta_string(), mov_read_uuid(), mov_read_wave(), mov_seek_stream(), mov_text_decode_frame(), mov_text_encode_init(), mp_decode_init(), mp_decode_layer3(), mp_get_code(), mp_read_codes_table(), mpc7_decode_frame(), mpc8_decode_frame(), mpc8_decode_init(), mpc8_read_header(), mpc_read_header(), mpeg1_decode_sequence(), mpeg_parse_packet(), mpegts_write_packet_internal(), mpegts_write_section1(), msrle_decode_8_16_24_32(), msrle_decode_init(), msrle_decode_pal4(), mss1_decode_frame(), mss2_decode_frame(), mss3_decode_frame(), mss3_decode_init(), mss4_decode_frame(), mv_read_header(), mxf_absolute_bodysid_offset(), mxf_compute_index_tables(), mxf_decrypt_triplet(), mxf_edit_unit_absolute_offset(), mxf_get_d10_aes3_packet(), mxf_get_sorted_table_segments(), mxf_parse_structural_metadata(), mxf_read_cryptographic_context(), mxf_read_header(), mxf_read_local_tags(), mxf_read_packet(), mxf_read_packet_old(), mxf_read_partition_pack(), mxf_read_primer_pack(), mxf_read_seek(), nist_read_header(), nut_read_header(), nut_read_packet(), ogg_read_header(), ogg_read_page(), ogg_replace_stream(), old_codec1(), old_codec37(), old_codec47(), oma_read_header(), opcode_0xf7(), opcode_0xf8(), opus_header(), opus_packet(), output_data(), paf_aud_decode(), paf_aud_init(), paf_vid_decode(), paf_vid_init(), parse_3dl(), parse_bintree(), parse_block_def(), parse_boolean(), parse_command_line(), parse_cube(), parse_fade(), parse_file(), parse_id_header(), parse_int(), parse_m3d(), parse_optarg(), parse_options(), parse_packed_headers(), parse_picture_segment(), parse_playlist(), parse_script(), parse_setup_header(), parse_source_parameters(), parse_streaminfo(), parse_string(), parse_strk(), parse_synth_channel_bell(), parse_synth_channel_spin(), parse_synth_def(), parse_time_sequence(), parse_timestamp(), parse_video_var(), parse_volume(), parse_vtrk(), pcm_decode_frame(), pcx_decode_frame(), pmp_header(), pnm_decode_frame(), process_block(), process_frame_obj(), process_video_header_vp6(), ptx_decode_frame(), pvf_read_header(), qcp_read_header(), qdm2_decode_init(), qdm2_parse_config(), qdm2_parse_packet(), qdm2_parse_subpacket(), qt_rtp_parse_packet(), qtrle_decode_init(), r3d_read_reda(), ra144_decode_frame(), ra288_decode_frame(), read_access_unit(), read_audio_mux_element(), read_block_data(), read_block_types(), read_braindead_odml_indx(), read_channel_params(), read_code_table(), read_colors(), read_connect(), read_const_block_data(), read_data_packet(), read_dcs(), read_dct_coeffs(), read_decoding_params(), read_extra_header(), read_filter_params(), read_frame(), read_frame_header(), read_header(), read_header_gme(), read_huff_channels(), read_kuki_chunk(), read_major_sync(), read_matrix_params(), read_mfra(), read_motion_values(), read_packet(), read_pakt_chunk(), read_patterns(), read_quant_table(), read_quant_tables(), read_restart_header(), read_rle_sgi(), read_runs(), read_shape_from_file(), read_uncompressed_sgi(), read_var_block_data(), redspark_read_header(), return_stored_frame(), rl2_decode_init(), rl2_read_header(), rle_decode(), rle_uncompress(), rm_assemble_video_frame(), rm_read_audio_stream_info(), rm_write_header(), roq_read_packet(), rsd_read_header(), rso_write_header(), rtcp_parse_packet(), rtmp_calc_swfhash(), rtp_parse_mp4_au(), rtp_parse_packet_internal(), rtsp_listen(), rtsp_read_header(), rtsp_read_packet(), rtsp_read_setup(), rtsp_write_header(), rtsp_write_packet(), rv10_decode_frame(), rv10_decode_init(), rv10_decode_packet(), rv10_decode_picture_header(), rv20_decode_picture_header(), rv34_decode_slice(), s302m_parse_frame_header(), sap_write_header(), send_invoke_response(), seq_fill_buffer(), seq_parse_frame_data(), seqvideo_decode(), seqvideo_decode_frame(), set_bps_params(), set_channels(), set_default_channel_config(), set_palette(), shorten_decode_frame(), siff_parse_soun(), siff_parse_vbv1(), siff_read_header(), siff_read_packet(), skip_data_stream_element(), skip_reserved(), smacker_decode_bigtree(), smacker_decode_header_tree(), smacker_decode_tree(), smacker_read_header(), smacker_read_packet(), smjpeg_read_header(), smjpeg_read_packet(), smka_decode_frame(), smush_read_header(), smush_read_packet(), smvjpeg_decode_frame(), sox_read_header(), spdif_get_offset_and_codec(), spdif_header_aac(), spdif_header_dts(), spdif_header_dts4(), spdif_header_mpeg(), speex_header(), srt_encode_init(), store_packet(), str_read_packet(), subviewer_decode_frame(), sunrast_decode_frame(), svq1_decode_block_intra(), svq1_decode_block_non_intra(), svq1_decode_frame(), svq1_decode_frame_header(), svq1_decode_motion_vector(), svq3_decode_init(), svq3_parse_packet(), swf_read_packet(), swf_write_header(), synthfilt_build_sb_samples(), tag_tree_decode(), tak_decode_frame(), tak_get_nb_samples(), tak_read_header(), targa_decode_rle(), tedcaptions_read_header(), tgq_decode_frame(), tgv_decode_frame(), tgv_decode_inter(), tiff_decode_tag(), tiff_unpack_strip(), tm2_build_huff_table(), tm2_decode_blocks(), tm2_read_deltas(), tm2_read_header(), tm2_read_stream(), tm2_read_tree(), tmv_decode_frame(), truemotion1_decode_header(), tscc2_decode_frame(), tscc2_decode_mb(), tta_check_crc(), tta_decode_frame(), tta_decode_init(), tta_read_header(), twin_decode_init(), txd_decode_frame(), txd_read_packet(), ulti_decode_frame(), unpack(), unsupported(), update_dimensions(), utvideo_encode_frame(), utvideo_encode_init(), v308_encode_init(), v410_decode_init(), v410_encode_init(), vaapi_mpeg2_decode_slice(), vb_decode_framedata(), vble_decode_frame(), vc1_decode_i_block_adv(), vc1_decode_intra_block(), vid_read_packet(), vivo_get_packet_header(), vivo_read_header(), vivo_read_packet(), vlc_decode_block(), vmd_decode(), vmdvideo_decode_frame(), vmdvideo_decode_init(), vorbis_decode_frame(), vorbis_decode_init(), vorbis_floor0_decode(), vorbis_floor1_decode(), vorbis_parse_audio_packet(), vorbis_parse_id_hdr(), vorbis_parse_setup_hdr(), vorbis_parse_setup_hdr_codebooks(), vorbis_parse_setup_hdr_floors(), vorbis_parse_setup_hdr_mappings(), vorbis_parse_setup_hdr_residues(), vorbis_parse_setup_hdr_tdtransforms(), vorbis_residue_decode(), vorbis_residue_decode_internal(), vp5_parse_header(), vp6_parse_header(), vp8_decode(), vp8_decode_frame(), vp8_encode(), vp8_handle_packet(), vpx_init(), vqa_decode_chunk(), vqa_decode_init(), vqf_read_header(), wavesynth_decode(), wavpack_decode_block(), wavpack_decode_frame(), wc3_read_header(), wc3_read_packet(), webp_decode_frame(), wma_decode_superframe(), write_header(), ws_snd_decode_frame(), wsaud_read_packet(), wsvqa_read_header(), wv_check_crc(), wv_read_block_header(), wv_unpack_mono(), wv_unpack_stereo(), xa_read_header(), xan_decode_chroma(), xan_decode_frame(), xan_huffman_decode(), xan_unpack(), xan_unpack_luma(), xan_wc3_decode_frame(), xbm_decode_frame(), xiph_handle_packet(), xiph_parse_fmtp_pair(), xmv_read_header(), xwd_decode_frame(), xwma_read_header(), y41p_encode_init(), yop_copy_previous_block(), yop_decode_frame(), yop_decode_init(), yop_paint_block(), yop_read_header(), yuv4_read_packet(), zero12v_decode_frame(), and zerocodec_decode_frame().

#define AVERROR_MUXER_NOT_FOUND   FFERRTAG(0xF8,'M','U','X')

Muxer not found.

Definition at line 60 of file error.h.

Referenced by hls_write_header(), ism_write_header(), and seg_write_header().

#define AVERROR_OPTION_NOT_FOUND   FFERRTAG(0xF8,'O','P','T')
#define AVERROR_PATCHWELCOME   FFERRTAG( 'P','A','W','E')

Not yet implemented in FFmpeg, patches welcome.

Definition at line 62 of file error.h.

Referenced by aac_adtstoasc_filter(), alac_decode_frame(), alac_decode_init(), amr_decode_fix_avctx(), amrnb_decode_frame(), amrnb_decode_init(), amrwb_decode_frame(), amrwb_decode_init(), ape_decode_init(), ape_read_header(), ast_write_header(), atrac1_decode_init(), avformat_query_codec(), avi_write_header(), avpriv_adx_decode_header(), avr_read_header(), avresample_build_matrix(), bmp_decode_frame(), brpix_decode_frame(), caf_write_header(), cdxl_decode_frame(), check_specific_config(), check_timecode(), cinepak_decode(), config_props(), cook_decode_init(), cpia_decode_frame(), dca_parse_frame_header(), decode_audio_block(), decode_band_hdr(), decode_channel_transform(), decode_element(), decode_frame(), decode_frame_headers(), decode_ga_specific_config(), decode_gop_header(), decode_group3_2d_line(), decode_ics(), decode_init(), decode_mvc2(), decode_nop(), decode_seq_header(), decode_sgirle8(), decode_slice_header(), decode_subframe(), decode_yuv_frame(), dirac_decode_init(), dshow_add_device(), dvvideo_init_encoder(), encode_init(), extract_header(), ff_eac3_parse_header(), ff_ivi_decode_frame(), ff_jpegls_decode_picture(), ff_mjpeg_decode_sof(), ff_mjpeg_decode_sos(), ff_parse_fmtp(), ff_spdif_read_packet(), ff_wma_init(), flashsv_decode_frame(), flic_decode_frame_24BPP(), flic_decode_init(), g2m_decode_frame(), g2m_load_cursor(), generate_interval(), get_packet_header(), get_siz(), get_sot(), h264_set_parameter_from_sps(), iff_read_header(), imc_decode_block(), imc_decode_init(), init(), init_offset(), jpeg2000_decode_packet(), jpeg2000_decode_packets(), jpeg_parse_packet(), lag_decode_frame(), latm_decode_audio_specific_config(), libspeex_decode_init(), lvf_read_header(), matroska_read_header(), mimic_decode_frame(), mix_function_init(), mkv_write_header(), mmf_read_header(), mov_read_mdhd(), movie_common_init(), mpc7_decode_init(), mpc8_decode_init(), mpc8_read_header(), mtv_read_header(), mv_read_header(), mxf_read_primer_pack(), nist_read_header(), ogg_replace_stream(), old_codec37(), old_codec47(), parse_fmtp_config(), parse_immediate(), parse_options(), parse_packed_headers(), parse_preprogrammed(), parse_wave_def(), pmp_packet(), process_frame_obj(), ptx_decode_frame(), qt_rtp_parse_packet(), ra288_decode_init(), read_frame_header(), read_header(), read_major_sync(), read_restart_header(), read_stream_mux_config(), rm_write_header(), roq_decode_init(), rsd_read_header(), rso_read_header(), rso_write_header(), rv10_decode_init(), rv10_decode_picture_header(), set_enable_expr(), shorten_decode_frame(), smjpeg_read_header(), spdif_get_offset_and_codec(), spdif_header_truehd(), spdif_write_header(), sunrast_decode_frame(), synth_superframe(), tak_decode_frame(), tee_write_header(), tiff_decode_tag(), tiff_unpack_fax(), truemotion1_decode_header(), truespeech_decode_init(), txd_decode_frame(), vc1_decode_init(), vcr1_decode_init(), vfw_read_header(), voc_write_header(), vorbis_header(), vp3_decode_frame(), vp5_parse_header(), vp6_parse_header(), vqa_decode_init(), webp_decode_frame(), wsaud_read_header(), wv_read_block_header(), xiph_handle_packet(), xiph_parse_fmtp_pair(), xv_write_header(), and xwd_decode_frame().

#define AVERROR_PROTOCOL_NOT_FOUND   FFERRTAG(0xF8,'P','R','O')

Protocol not found.

Definition at line 63 of file error.h.

Referenced by ffurl_alloc(), and parse_command_line().

#define AVERROR_STREAM_NOT_FOUND   FFERRTAG(0xF8,'S','T','R')

Stream not found.

Definition at line 65 of file error.h.

Referenced by av_find_best_stream(), check_sessionid(), read_header_gme(), and rtsp_read_setup().

#define AVERROR_BUG2   FFERRTAG( 'B','U','G',' ')

This is semantically identical to AVERROR_BUG it has been introduced in Libav after our AVERROR_BUG and with a modified value.

Definition at line 70 of file error.h.

#define AVERROR_UNKNOWN   FFERRTAG( 'U','N','K','N')
#define AVERROR_EXPERIMENTAL   (-0x2bb2afa8)

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

Definition at line 72 of file error.h.

Referenced by avcodec_open2(), and init_input_stream().

#define AV_ERROR_MAX_STRING_SIZE   64

Definition at line 74 of file error.h.

#define av_err2str (   errnum)    av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum)

Function Documentation

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

Definition at line 53 of file error.c.

Referenced by av_file_map(), av_make_error_string(), ff_listen_connect(), ffmpeg_parse_options(), handle_file(), init(), init_input_stream(), log_net_error(), main(), print_error(), process_input(), and show_error().

static char* av_make_error_string ( char *  errbuf,
size_t  errbuf_size,
int  errnum 
)
inlinestatic

Fill the provided buffer with a string containing an error string corresponding to the AVERROR code errnum.

Parameters
errbufa buffer
errbuf_sizesize in bytes of errbuf
errnumerror code to describe
Returns
the buffer in input, filled with the error description
See Also
av_strerror()

Definition at line 100 of file error.h.