Error Codes
[Common utility functions]


Defines

#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_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_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.

Functions

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

Define Documentation

#define AVERROR (  )     (e)

Definition at line 43 of file error.h.

Referenced by a64_write_header(), a64_write_packet(), a64multi_init_encoder(), aac_decode_frame(), aac_encode_frame(), aac_encode_init(), add_interval(), 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(), aiff_read_header(), al_get_error(), alac_encode_init(), alloc_and_copy(), alloc_buffer(), alloc_buffers(), alloc_sequence_buffers(), allocate_buffers(), allocate_initial_states(), allocate_sample_buffers(), 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(), asf_read_seek(), asf_read_stream_properties(), asf_write_header1(), asfrtp_parse_packet(), ass_decode_init(), ass_encode_init(), 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(), auto_matrix(), av_asrc_buffer_add_samples(), av_audio_fifo_drain(), av_audio_fifo_read(), av_audio_fifo_write(), av_bprint_alloc(), av_bprint_finalize(), av_buffersink_get_buffer_ref(), av_buffersink_read(), av_buffersink_read_samples(), av_buffersrc_add_frame(), av_buffersrc_add_ref(), av_dict_set(), av_dup_packet(), av_expr_parse(), av_expr_parse_and_eval(), av_fifo_grow(), av_fifo_realloc2(), av_file_map(), av_get_output_timestamp(), av_grow_packet(), av_image_alloc(), av_image_check_size(), av_image_fill_linesizes(), av_image_fill_pointers(), av_image_get_linesize(), av_interleaved_write_frame(), av_new_packet(), av_opt_get(), av_opt_set(), 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_probe_input_buffer(), av_read_frame(), av_read_pause(), av_read_play(), av_samples_alloc(), av_samples_get_buffer_size(), av_sdp_create(), av_size_mult(), av_strerror(), av_tempfile(), avcodec_copy_context(), avcodec_decode_audio3(), avcodec_decode_audio4(), avcodec_decode_subtitle2(), avcodec_decode_video2(), avcodec_encode_audio(), avcodec_encode_audio2(), avcodec_encode_video2(), avcodec_fill_audio_frame(), avcodec_get_context_defaults3(), avcodec_open2(), avfilter_config_links(), avfilter_copy_buf_props(), avfilter_copy_frame_props(), avfilter_fill_frame_from_audio_buffer_ref(), avfilter_fill_frame_from_buffer_ref(), avfilter_fill_frame_from_video_buffer_ref(), avfilter_graph_add_filter(), avfilter_graph_parse(), avfilter_graph_parse2(), avfilter_graph_send_command(), avfilter_link(), avfilter_open(), avfilter_process_command(), avfilter_register(), avformat_alloc_output_context2(), avformat_find_stream_info(), avformat_open_input(), avformat_write_header(), avi_read_header(), avi_write_header(), avi_write_packet(), avio_get_str(), avio_pause(), avio_seek(), avio_seek_time(), avio_size(), avisynth_read_packet(), avpicture_layout(), avresample_build_matrix(), avresample_get_matrix(), avresample_open(), avresample_set_compensation(), avresample_set_matrix(), avs_read_audio_packet(), avs_read_packet(), avs_read_video_packet(), avui_decode_frame(), avui_decode_init(), avui_encode_init(), bfi_read_header(), bfi_read_packet(), bluray_open(), bluray_read(), bluray_seek(), bmp_decode_frame(), bmv_aud_decode_init(), bmv_read_header(), bmv_read_packet(), build_filter(), bytestream2_seek(), bytestream2_seek_p(), cache_read(), cache_seek(), caf_write_packet(), cbr_bit_allocation(), cdata_read_header(), cdg_decode_frame(), cdg_tile_block(), cdxl_decode_frame(), cdxl_read_packet(), celt_header(), che_configure(), check_stream_specifier(), check_timecode(), cin_read_frame_header(), cin_read_header(), cmdutils_read_file(), codec_reinit(), codecctl_int(), color_config_props(), color_init(), command(), common_init(), compact_init(), compute_pkt_fields2(), concat_open(), concat_seek(), config_input(), config_input_overlay(), config_input_props(), config_output(), config_output_props(), config_props(), config_props_input(), configure_complex_filter(), configure_simple_filtergraph(), cook_decode_init(), copy_chapters(), copy_from(), create_filter(), create_vorbis_context(), crypto_open(), daud_header(), daud_packet(), dc1394_read_common(), decode(), decode_audio(), decode_codestream(), decode_frame(), decode_i_frame(), decode_init(), decode_main_header(), decode_p_frame(), decode_packet(), decode_pic_hdr(), decode_picture_header(), decode_slice(), decode_slice_header(), decode_stream_header(), decode_subframe_lpc(), decode_thread(), decode_update_thread_context(), decode_video(), decoder_init(), DEF_CHOOSE_FORMAT(), device_open(), dfa_decode_init(), dfa_read_header(), dfa_read_packet(), dilate_init(), 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(), dv1394_read_header(), dv1394_read_packet(), dv_read_header(), dv_read_packet(), dvdsub_init(), dvvideo_init_encoder(), dxa_read_packet(), 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_frame(), encode_init(), encode_intervals(), encode_picture_ls(), escape130_decode_init(), estimate_timings_from_pts(), expand_tseq(), extract_header(), Faac_encode_init(), fbdev_read_header(), fbdev_read_packet(), ff_ac3_encode_init(), ff_ac3_float_mdct_init(), ff_ac3_validate_metadata(), ff_add_param_change(), ff_af_queue_add(), ff_alloc_packet2(), ff_alsa_extend_reorder_buf(), ff_alsa_open(), ff_alsa_xrun_recover(), ff_asf_get_packet(), 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_init(), ff_audio_resample(), ff_avc_write_annexb_extradata(), ff_avfilter_graph_check_validity(), ff_avfilter_graph_config_pointers(), ff_bgmc_init(), ff_ccitt_unpack(), ff_celt_error_to_averror(), ff_combine_frame(), ff_draw_init(), ff_fill_rgba_map(), ff_h263_decode_frame(), ff_h263_handle_packet(), ff_id3v2_parse_apic(), ff_id3v2_write_apic(), ff_interleave_add_packet(), ff_ivi_init_planes(), ff_ivi_init_tiles(), ff_j2k_dwt_init(), ff_j2k_init_component(), ff_load_image(), ff_lpc_init(), 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_network_wait_fd(), ff_parse_channel_layout(), ff_parse_fmtp(), ff_parse_pixel_format(), ff_parse_sample_format(), ff_parse_sample_rate(), ff_parse_time_base(), ff_raw_audio_read_header(), ff_raw_read_header(), ff_raw_read_partial_packet(), ff_raw_video_read_header(), ff_read_packet(), ff_read_riff_info(), ff_rtmp_packet_create(), ff_rtmp_packet_read(), ff_rtp_parse_packet(), ff_rtsp_setup_output_streams(), ff_scale_image(), ff_set_systematic_pal2(), ff_slice_buffer_init(), ff_sndio_open(), ff_udp_set_remote_url(), ff_vda_create_decoder(), ff_voc_get_packet(), ff_wms_parse_sdp_a_line(), ff_xvid_rate_control_init(), ffio_fdopen(), ffio_rewind_with_probe_data(), ffio_set_buf_size(), ffm_is_avail_data(), ffm_read_header(), ffurl_read(), ffurl_read_complete(), ffurl_seek(), ffurl_shutdown(), ffurl_write(), file_check(), file_read(), file_write(), film_read_header(), film_read_packet(), find_headers_search_validate(), find_reorder_func(), flac_encode_init(), flac_read_header(), flac_write_block_comment(), flashsv_decode_frame(), flashsv_encode_frame(), flashsv_encode_init(), flic_read_header(), flic_read_packet(), floor_encode(), 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(), g722_encode_init(), g723_1_init(), g729_read_header(), get_chunk_header(), get_coc(), get_cod(), get_cox(), get_http_header_data(), get_metadata(), get_packet(), get_pix_fmt_depth(), get_private_data(), get_qcc(), get_qcx(), get_sindex(), get_siz(), get_sot(), get_tag(), get_tcp_server_response(), get_video_private_data(), gif_encode_init(), gif_read_image(), gif_write_header(), gopher_connect(), grab_read_header(), grab_read_packet(), gsm_parse(), gsm_read_header(), gsm_read_packet(), gxf_write_header(), h263_handle_packet(), h264_handle_packet(), h264_mp4toannexb_filter(), handle_chunk_type(), handle_connection(), handle_packets(), hls_open(), hls_read_header(), hls_read_seek(), http_connect(), http_get_line(), http_getc(), http_open_cnx(), http_prepare_data(), http_read(), http_read_header(), http_receive_data(), http_send_data(), http_server(), id3v2_put_ttag(), idcin_read_header(), idcin_read_packet(), iff_read_header(), iff_read_packet(), image_get_linesize(), ingenient_read_packet(), init(), init_audio(), init_convert_timestamp(), init_cook_mlt(), init_input_stream(), init_mdct_win(), init_pattern_from_file(), init_pattern_from_string(), init_slice_contexts(), init_slice_state(), init_tile(), init_tiles(), init_video(), insert_conv_filter(), ipmovie_read_header(), ipmovie_read_packet(), iss_read_header(), iss_read_packet(), ivf_write_header(), jacosub_read_header(), lag_decode_frame(), latm_decode_audio_specific_config(), latm_parse_packet(), lavfi_read_header(), libcelt_dec_init(), libopenjpeg_encode_frame(), libopenjpeg_encode_init(), libschroedinger_decode_frame(), libspeex_decode_init(), link_filter_inouts(), lmlm4_read_header(), lmlm4_read_packet(), load_font_file(), load_glyph(), load_mask(), loas_read_header(), lxf_read_header(), lxf_read_packet(), main(), matroska_parse_block(), matroska_read_header(), md5_close(), md5_open(), mimic_decode_frame(), mjpeg2jpeg_filter(), mkv_add_cuepoint(), mkv_add_seekhead_entry(), mkv_copy_packet(), mkv_write_attachments(), mkv_write_header(), mkv_write_packet_internal(), mkv_write_tracks(), mmap_init(), mmap_read_frame(), mmap_start(), mmf_read_header(), mmf_read_packet(), mms_open(), mms_read(), mmsh_open_internal(), mmsh_seek(), modplug_load_metadata(), modplug_read_header(), modplug_read_packet(), mov_open_dref(), mov_read_cmov(), mov_read_ctts(), mov_read_dref(), mov_read_dvc1(), mov_read_extradata(), mov_read_ftyp(), mov_read_glbl(), mov_read_hdlr(), mov_read_smi(), 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_wave(), mov_write_dvc1_structs(), mov_write_header(), movie_common_init(), mp3_read_header(), 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_mux_init(), mpegps_read_packet(), mpegps_read_pes_header(), mpegts_push_data(), mpegts_raw_read_packet(), mpegts_read_packet(), mpegts_set_stream_info(), mpegts_write_header(), mpegts_write_packet_internal(), msnwc_tcp_read_header(), mtv_read_header(), 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_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(), normalize_double(), nsv_parse_NSVf_header(), nut_read_header(), nut_write_header(), nuv_header(), nuv_packet(), ogg_buffer_page(), ogg_build_flac_headers(), ogg_build_speex_headers(), ogg_new_stream(), ogg_write_header(), oggvorbis_encode_init(), oma_read_header(), oma_read_packet(), oma_write_header(), open_input(), opt_channel_layout(), opt_filter_complex(), opt_format(), opt_frame_crop(), opt_input_file(), opt_output_file(), opt_report(), opt_target(), output_frame(), packetizer_read(), pad_last_frame(), parse_channel_name(), parse_expr(), parse_factor(), parse_fmtp_config(), parse_inputs(), parse_iplconvkernel(), parse_key_value_pair(), parse_keyframes_index(), parse_MP4DecConfigDescrTag(), parse_named_def(), parse_option(), parse_options(), parse_outputs(), parse_packed_headers(), parse_packet(), parse_playlist(), parse_primary(), parse_rule(), parse_setup_header(), 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_volume(), pcm_decode_frame(), pcm_decode_init(), pcm_encode_init(), pcx_decode_frame(), pick_format(), pmp_header(), pmp_packet(), pnm_encode_frame(), poll_filters(), prores_encode_init(), pulse_read_header(), pulse_read_packet(), put_codeword(), put_main_header(), pva_read_header(), pva_read_packet(), qcp_read_header(), qdm2_parse_config(), qdm2_parse_packet(), qt_rtp_parse_packet(), query_formats(), queue_frames(), r3d_read_rdvo(), r3d_read_red1(), ra144_encode_init(), raw_decode(), raw_init_decoder(), rdt_parse_sdp_line(), read_audio_mux_element(), read_data_packet(), read_desc_chunk(), read_extra_header(), read_frame(), read_frame_internal(), read_from_fifo(), read_header(), read_kuki_chunk(), read_number(), read_packet(), read_part_of_packet(), read_seek(), read_seek2(), read_shape_from_file(), read_specific_config(), read_tag(), read_tfra(), read_whole_file(), ready_codebook(), ready_residue(), realloc_audio(), request_frame(), resample(), residue_encode(), ret_str(), retry_transfer_wrapper(), 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_dpcm_encode_init(), roq_read_header(), roq_read_packet(), rpl_read_header(), rpl_read_packet(), rso_read_header(), rtmp_calc_digest(), rtmp_handshake(), rtmp_open(), rtmp_read_seek(), rtp_open(), rtp_parse_one_packet(), rtp_parse_packet_internal(), rtp_read(), rtp_write_header(), rtsp_open_transport_ctx(), rtsp_read_header(), rtsp_read_packet(), rtsp_write_packet(), rv34_decoder_alloc(), 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(), sdl_write_header(), sdp_parse_fmtp_config_h264(), seek_frame_generic(), seg_write_header(), segment_start(), send_command_packet(), seq_fill_buffer(), seq_init_frame_buffers(), seq_read_header(), seq_read_packet(), set_channel_info(), set_param(), set_params(), set_string_binary(), shorten_decode_frame(), siff_read_packet(), smacker_read_header(), smacker_read_packet(), smjpeg_read_header(), smjpeg_write_header(), smka_decode_frame(), smka_decode_init(), smooth_init(), sol_read_packet(), source_config_props(), source_init(), sox_read_header(), sox_read_packet(), spdif_header_aac(), spdif_header_dts(), spdif_header_dts4(), spdif_header_eac3(), spdif_read_packet(), spdif_write_header(), spdif_write_packet(), split_init(), srt_encode_frame(), Stagefright_decode_frame(), Stagefright_init(), start_jack(), str_read_header(), str_read_packet(), stream_toggle_pause(), sunrast_decode_frame(), sunrast_encode_init(), svq3_decode_frame(), svq3_decode_init(), svq3_parse_packet(), swf_read_header(), swf_write_header(), swr_init(), swr_set_channel_mapping(), swr_set_compensation(), swr_set_matrix(), sws_init_context(), targa_encode_frame(), tcp_open(), tgv_decode_frame(), thp_read_header(), thp_read_packet(), tiff_unpack_strip(), tls_open(), tls_read(), tls_write(), tmv_read_header(), tqi_decode_frame(), transcode(), transcode_init(), truespeech_decode_init(), tta_decode_init(), tta_read_header(), twin_decode_frame(), txd_read_header(), udp_open(), udp_read(), udp_set_url(), update_context_from_user(), update_dimensions(), url_alloc_for_protocol(), url_open_dyn_buf_internal(), utvideo_encode_frame(), utvideo_encode_init(), v308_decode_frame(), v308_decode_init(), v308_encode_init(), v408_decode_frame(), v408_decode_init(), v408_encode_init(), v410_decode_frame(), v410_decode_init(), v410_encode_init(), v4l2_read_header(), v4l2_set_parameters(), v4l_mm_read_picture(), validate_options(), vble_decode_frame(), vble_decode_init(), vc1t_read_packet(), vcr1_decode_frame(), vfw_read_header(), vfw_read_packet(), vid_read_packet(), vmd_read_header(), vmd_read_packet(), vmdaudio_decode_frame(), vmdaudio_decode_init(), voc_read_header(), vorbis_encode_frame(), vorbis_encode_init(), vorbis_error_to_averror(), vorbis_header(), vorbis_parse_setup_hdr_floors(), vorbis_parse_setup_hdr_residues(), vp8_alloc_frame(), vp8_encode(), vp8_handle_packet(), vp8_init(), vqa_decode_init(), vqf_read_header(), vqf_read_packet(), wavesynth_decode(), wavesynth_init(), wavesynth_parse_extradata(), wavpack_decode_frame(), wc3_read_header(), wc3_read_packet(), write_number(), write_packet(), write_streamheader(), writer_open(), writer_register(), ws_snd_decode_frame(), ws_snd_decode_init(), wsaud_read_header(), wsaud_read_packet(), wsvqa_read_header(), wsvqa_read_packet(), wv_read_packet(), x11grab_read_header(), X264_init(), xa_read_header(), xan_decode_frame(), xan_decode_init(), XAVS_init(), xbm_decode_init(), xbm_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(), xwd_decode_init(), xwd_encode_frame(), xwd_encode_init(), xwma_read_header(), y41p_decode_frame(), y41p_decode_init(), y41p_encode_init(), yop_read_header(), yuv4_decode_frame(), yuv4_decode_init(), yuv4_encode_init(), yuv4_read_header(), yuv4_read_packet(), zerocodec_decode_frame(), and zerocodec_decode_init().

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

Bitstream filter not found.

Definition at line 49 of file error.h.

Referenced by av_strerror(), and init().

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

#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 68 of file error.h.

Referenced by av_strerror().

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

Decoder not found.

Definition at line 51 of file error.h.

Referenced by av_find_best_stream(), and av_strerror().

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

Demuxer not found.

Definition at line 52 of file error.h.

Referenced by av_strerror().

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

Encoder not found.

Definition at line 53 of file error.h.

Referenced by av_strerror().

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

End of file.

Definition at line 54 of file error.h.

Referenced by adx_read_packet(), aiff_read_packet(), ape_read_packet(), audio_read_packet(), av_buffersink_read_samples(), av_probe_input_buffer(), av_strerror(), avfilter_graph_request_oldest(), avi_read_packet(), avi_sync(), avio_read(), avio_seek(), bmv_read_packet(), calc_active_inputs(), cdxl_read_packet(), cmdutils_read_file(), crypto_read(), dfa_read_packet(), ff_asf_parse_packet(), ffio_read_partial(), ffm_is_avail_data(), find_record(), flv_read_packet(), g723_1_read_packet(), get_packet(), get_packet_header(), get_swf_tag(), gxf_packet(), hls_read(), hls_read_header(), hls_read_packet(), http_buf_read(), iff_read_packet(), ipmovie_read_header(), jacosub_read_packet(), lxf_read_header(), lxf_read_packet(), main(), matroska_read_packet(), matroska_resync(), microdvd_read_packet(), modplug_read_packet(), mov_read_dref(), mov_read_packet(), mp3_read_packet(), mpc8_read_packet(), mpegps_read_pes_header(), mxf_read_packet(), mxf_read_packet_old(), mxg_read_packet(), ogg_read_page(), parse_chunks(), pmp_packet(), poll_filters(), poll_frame(), qcp_read_packet(), read_data(), read_packet(), read_tfra(), read_thread(), read_whole_file(), request_frame(), request_samples(), ret_str(), sap_fetch_packet(), sbg_read_packet(), smacker_read_packet(), smjpeg_read_header(), smjpeg_read_packet(), sox_read_packet(), spdif_read_packet(), srt_read_packet(), sync(), tmv_read_packet(), transcode(), tta_read_packet(), txd_read_packet(), xa_read_packet(), xwma_read_packet(), yop_read_header(), and yop_read_packet().

#define AVERROR_EXIT   FFERRTAG( 'E','X','I','T')

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

Definition at line 55 of file error.h.

Referenced by av_strerror(), avformat_find_stream_info(), dshow_read_header(), hls_read(), read_data(), read_header(), retry_transfer_wrapper(), rtp_read(), tcp_open(), and v4l2_read_header().

#define AVERROR_FILTER_NOT_FOUND   FFERRTAG(0xF8,'F','I','L')

Filter not found.

Definition at line 56 of file error.h.

Referenced by av_strerror(), and lavfi_read_header().

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

Invalid data found when processing input.

Definition at line 57 of file error.h.

Referenced by aac_decode_frame(), aac_decode_init(), ac3_decode_frame(), adpcm_decode_frame(), adx_decode_frame(), adx_decode_init(), adx_read_header(), aiff_read_header(), alac_decode_frame(), alac_set_info(), allocate_frame_buffers(), amr_handle_packet(), amrnb_decode_frame(), amrwb_decode_frame(), ape_decode_frame(), ape_decode_init(), ape_decode_value(), ape_read_header(), asf_read_file_properties(), ass_decode_frame(), ass_split(), at1_imdct_block(), at1_parse_bsm(), at1_unpack_dequant(), atrac1_decode_frame(), atrac3_decode_frame(), atrac3_decode_init(), au_read_header(), av_bprint_alloc(), av_probe_input_buffer(), av_strerror(), av_timecode_init_from_string(), avformat_write_header(), avi_read_header(), avpriv_adx_decode_header(), avpriv_mpeg4audio_get_config(), avpriv_vorbis_parse_frame(), avs_decode_frame(), avs_read_packet(), bit_allocation(), bmv_aud_decode_frame(), bmv_read_packet(), 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(), cmv_decode_frame(), cook_decode_frame(), cook_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_audio(), decode_band(), decode_band_hdr(), decode_bdlt(), decode_block(), decode_cdlms(), decode_cell(), decode_channel_transform(), decode_chunks(), decode_coeffs(), decode_copy(), decode_cpe(), decode_dds1(), decode_dsw1(), decode_envelope(), decode_format80(), decode_frame(), decode_frame_byterun1(), decode_frame_header(), decode_frame_headers(), decode_frame_ilbm(), decode_i2_frame(), decode_i_frame(), decode_ics(), decode_ics_info(), decode_init(), decode_main_header(), decode_mb_info(), decode_packet(), decode_pic_hdr(), decode_picture_header(), decode_plane(), decode_q_branch(), decode_scale_factors(), decode_slice(), decode_slice_header(), decode_str(), decode_subframe(), decode_subframe_length(), decode_tag(), decode_tilehdr(), decode_tsw1(), decode_vui_parameters(), decode_wave_header(), decode_wdlt(), decodeChannelSoundUnit(), decodeFrame(), decodeGainControl(), decodeTonalComponents(), decouple_info(), decrypt_init(), dfa_decode_frame(), dfa_read_header(), dirac_unpack_idwt_params(), dnxhd_init_vlc(), dv_extract_audio(), ea_read_packet(), ebml_parse_elem(), ebml_read_float(), ebml_read_num(), ebml_read_uint(), eightsvx_decode_init(), encode_frame(), encode_init(), expand_rle_row(), expand_script(), extract_header(), ff_adts_write_frame_header(), ff_ass_split_override_codes(), ff_avc_write_annexb_extradata(), ff_celt_error_to_averror(), ff_cmap_read_palette(), ff_dca_convert_bitstream(), ff_h263_decode_frame(), ff_h263_handle_packet(), ff_h264_execute_ref_pic_marking(), ff_isom_write_avcc(), ff_ivi_dec_huff_desc(), ff_ivi_decode_blocks(), ff_j2k_dwt_init(), ff_mjpeg_decode_frame(), ff_mjpeg_decode_sof(), ff_mlp_read_major_sync(), ff_mms_asf_header_parser(), ff_read_riff_info(), ff_rtsp_setup_input_streams(), ff_rtsp_setup_output_streams(), ff_rv34_decode_frame(), film_read_header(), find_record(), flac_read_header(), flashsv_decode_frame(), flashsv_encode_init(), flic_decode_frame_8BPP(), flic_decode_init(), flic_read_header(), fourxm_read_header(), fraps2_decode_plane(), g722_decode_init(), g722_encode_init(), g729_read_header(), get_chunk_header(), get_nb_samples(), get_packet_header(), get_tcp_server_response(), gsm_decode_frame(), h263_handle_packet(), h264_handle_packet(), handle_chunk_type(), iff_read_header(), imc_decode_frame(), imc_get_coeffs(), init_entropy_decoder(), init_image(), init_MP4DescrParseContext(), init_offset(), inverse_quant_coeff(), ipmovie_read_header(), ipmovie_read_packet(), ir2_decode_frame(), iss_read_header(), 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(), lxf_read_header(), lxf_read_packet(), matroska_parse_block(), matroska_parse_seekhead_entry(), mjpeg2jpeg_filter(), mjpegb_decode_frame(), mm_decode_frame(), mm_decode_inter(), mmap_read_frame(), 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_seek(), mov_read_smi(), mov_read_stco(), mov_read_stps(), mov_read_strf(), mov_read_stsc(), mov_read_stss(), mov_read_stsz(), mov_read_tfhd(), mov_read_trex(), mov_read_trun(), mov_read_udta_string(), mov_read_wave(), mov_seek_stream(), mp_decode_init(), mp_decode_layer3(), mpc7_decode_frame(), mpc8_decode_frame(), mpc8_decode_init(), mpegts_write_packet_internal(), mpegts_write_section1(), msrle_decode_8_16_24_32(), msrle_decode_pal4(), mtv_read_header(), mxf_absolute_bodysid_offset(), mxf_compute_index_tables(), mxf_decrypt_triplet(), mxf_edit_unit_absolute_offset(), mxf_get_d10_aes3_packet(), mxf_parse_structural_metadata(), mxf_read_content_storage(), mxf_read_cryptographic_context(), mxf_read_generic_descriptor(), mxf_read_header(), mxf_read_local_tags(), mxf_read_material_package(), mxf_read_packet(), mxf_read_packet_old(), mxf_read_partition_pack(), mxf_read_primer_pack(), mxf_read_seek(), mxf_read_sequence(), mxf_read_source_package(), nut_read_header(), nut_read_packet(), ogg_read_page(), output_data(), parse_bintree(), parse_block_def(), parse_fade(), parse_id_header(), parse_optarg(), parse_options(), parse_packed_headers(), parse_playlist(), parse_script(), parse_setup_header(), parse_streaminfo(), parse_synth_channel_bell(), parse_synth_channel_spin(), parse_synth_def(), parse_time_sequence(), parse_timestamp(), parse_volume(), ptx_decode_frame(), qcp_read_header(), qdm2_decode_init(), qdm2_parse_config(), qdm2_parse_packet(), qdm2_parse_subpacket(), qt_rtp_parse_packet(), qtrle_decode_init(), ra288_decode_frame(), read_access_unit(), read_audio_mux_element(), read_block_data(), read_channel_params(), read_data_packet(), read_decoding_params(), read_extra_header(), read_filter_params(), read_frame(), read_header(), read_huff_channels(), read_kuki_chunk(), read_major_sync(), read_matrix_params(), read_packet(), read_pakt_chunk(), read_restart_header(), read_rle_sgi(), read_shape_from_file(), read_uncompressed_sgi(), read_var_block_data(), return_stored_frame(), rl2_read_header(), rm_read_audio_stream_info(), rm_write_header(), roq_read_packet(), rso_read_header(), rso_write_header(), rtcp_parse_packet(), rtsp_read_header(), rtsp_read_packet(), rtsp_write_header(), rtsp_write_packet(), rv10_decode_frame(), rv20_decode_picture_header(), rv34_decode_slice(), s302m_parse_frame_header(), sap_write_header(), seq_fill_buffer(), seq_parse_frame_data(), seqvideo_decode(), seqvideo_decode_frame(), set_palette(), siff_read_packet(), smacker_read_packet(), smjpeg_read_header(), smjpeg_read_packet(), smka_decode_frame(), spdif_get_offset_and_codec(), spdif_header_aac(), spdif_header_dts(), spdif_header_dts4(), spdif_header_mpeg(), spdif_header_truehd(), srt_encode_init(), store_packet(), str_read_packet(), sunrast_decode_frame(), svq1_decode_frame(), svq3_decode_init(), svq3_parse_packet(), synthfilt_build_sb_samples(), targa_decode_rle(), tgv_decode_frame(), tgv_decode_inter(), tiff_decode_tag(), tiff_unpack_strip(), tm2_read_stream(), tta_check_crc(), tta_decode_frame(), tta_decode_init(), twin_decode_init(), txd_decode_frame(), txd_read_packet(), ulti_decode_frame(), update_dimensions(), utvideo_encode_frame(), v308_encode_init(), v410_encode_init(), vaapi_mpeg2_decode_slice(), vble_decode_frame(), vc1_decode_i_block_adv(), vc1_decode_intra_block(), vid_read_packet(), vorbis_decode_init(), vorbis_floor0_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(), vp8_decode(), vp8_decode_frame(), vp8_encode(), vp8_handle_packet(), vp8_init(), vqa_decode_chunk(), vqa_decode_init(), wavesynth_decode(), wc3_read_header(), wc3_read_packet(), wma_decode_superframe(), write_header(), wsaud_read_packet(), wsvqa_read_header(), wv_check_crc(), wv_unpack_mono(), wv_unpack_stereo(), 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(), xwd_decode_frame(), xwma_read_header(), y41p_encode_init(), yop_copy_previous_block(), yop_decode_frame(), yop_decode_init(), yop_read_header(), and zerocodec_decode_frame().

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

Muxer not found.

Definition at line 58 of file error.h.

Referenced by av_strerror(), 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 60 of file error.h.

Referenced by alac_decode_init(), alac_encode_init(), ape_decode_init(), av_strerror(), avformat_query_codec(), avi_write_header(), avpriv_adx_decode_header(), avresample_build_matrix(), caf_write_header(), cdxl_decode_frame(), check_timecode(), cinaudio_decode_init(), config_props(), cook_decode_init(), decode_band_hdr(), decode_frame(), decode_frame_headers(), decode_gop_header(), decode_header(), decode_init(), decode_nal_units(), decode_slice_header(), decode_subframe(), decode_unk6(), dirac_decode_init(), dshow_add_device(), encode_init(), extract_header(), ff_h263_decode_frame(), ff_h264_decode_picture_parameter_set(), ff_mjpeg_decode_sof(), ff_parse_fmtp(), ff_rv34_decode_frame(), flashsv_decode_frame(), generate_interval(), get_packet_header(), iff_read_header(), imc_decode_init(), matroska_read_header(), mix_function_init(), mov_read_mdhd(), mpc7_decode_init(), mxf_read_primer_pack(), parse_fmtp_config(), parse_immediate(), parse_options(), parse_packed_headers(), parse_preprogrammed(), parse_wave_def(), pmp_packet(), qcp_read_header(), read_major_sync(), read_restart_header(), read_stream_mux_config(), rm_write_header(), rso_read_header(), rso_write_header(), rv10_decode_init(), shorten_decode_frame(), spdif_get_offset_and_codec(), spdif_read_packet(), spdif_write_header(), sunrast_decode_frame(), tiff_decode_tag(), vfw_read_header(), voc_write_header(), wsaud_read_header(), xiph_handle_packet(), xiph_parse_fmtp_pair(), and xwd_decode_frame().

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

Protocol not found.

Definition at line 61 of file error.h.

Referenced by av_strerror(), and ffurl_alloc().

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

Stream not found.

Definition at line 62 of file error.h.

Referenced by av_find_best_stream(), and av_strerror().

#define AVERROR_UNKNOWN   FFERRTAG( 'U','N','K','N')

Unknown error, typically from an external library.

Definition at line 69 of file error.h.

Referenced by av_strerror(), decode_init(), Faac_encode_init(), and vorbis_error_to_averror().

#define AVUNERROR (  )     (e)

Definition at line 44 of file error.h.

Referenced by av_strerror(), print_error(), and show_error().

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

Definition at line 47 of file error.h.


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:
errnum error code to describe
errbuf buffer to which description is written
errbuf_size the size in bytes of errbuf
Returns:
0 on success, a negative value if a description for errnum cannot be found

Definition at line 23 of file error.c.

Referenced by av_file_map(), handle_file(), main(), poll_filters(), print_error(), and show_error().


Generated on Fri Oct 26 02:48:04 2012 for FFmpeg by  doxygen 1.5.8