Deprecated List

Global audio_resample_init (int output_channels, int input_channels, int output_rate, int input_rate)

Use av_audio_resample_init() instead.

Use av_audio_resample_init() instead.

Global av_alloc_format_context (void)

Use avformat_alloc_context() instead.

Use avformat_alloc_context() instead.

Global av_destruct_packet_nofree (AVPacket *pkt)

use NULL instead

use NULL instead

Global av_eval_expr (AVExpr *e, const double *const_values, void *opaque)

Deprecated in favor of av_expr_eval().

Deprecated in favor of av_expr_eval().

Global av_find_opt (void *v, const char *name, const char *unit, int mask, int flags)

use av_opt_find.

use av_opt_find.

Global av_find_stream_info (AVFormatContext *ic)

use avformat_find_stream_info.

use avformat_find_stream_info.

Global av_free_expr (AVExpr *e)

Deprecated in favor of av_expr_free().

Deprecated in favor of av_expr_free().

Global av_get_bits_per_sample_fmt (enum AVSampleFormat sample_fmt)

Use av_get_bytes_per_sample() instead.

Use av_get_bytes_per_sample() instead.

Global av_get_bits_per_sample_format (enum AVSampleFormat sample_fmt)

Use av_get_bytes_per_sample() instead.

Use av_get_bytes_per_sample() instead.

Global av_get_pict_type_char (int pict_type)

Use av_get_picture_type_char() instead.

Use av_get_picture_type_char() instead.

Global av_metadata_set (AVMetadata **pm, const char *key, const char *value)

Use av_metadata_set2() instead.

Use av_metadata_set2() instead.

Global av_open_input_file (AVFormatContext **ic_ptr, const char *filename, AVInputFormat *fmt, int buf_size, AVFormatParameters *ap)

use avformat_open_input instead.

use avformat_open_input instead.

Global av_open_input_stream (AVFormatContext **ic_ptr, AVIOContext *pb, const char *filename, AVInputFormat *fmt, AVFormatParameters *ap)

use avformat_open_input instead.

use avformat_open_input instead.

Global av_opt_show (void *obj, void *av_log_obj)

Use av_opt_show2() instead.

Use av_opt_show2() instead.

Global av_parse_and_eval_expr (double *res, const char *s, const char *const *const_names, const double *const_values, const char *const *func1_names, double(*const *funcs1)(void *, double), const char *const *func2_names, double(*const *funcs2)(void *, double, double), void *opaque, int log_offset, void *log_ctx)

Deprecated in favor of av_expr_parse_and_eval().

Deprecated in favor of av_expr_parse_and_eval().

Global av_parse_expr (AVExpr **expr, const char *s, const char *const *const_names, const char *const *func1_names, double(*const *funcs1)(void *, double), const char *const *func2_names, double(*const *funcs2)(void *, double, double), int log_offset, void *log_ctx)

Deprecated in favor of av_expr_parse().

Deprecated in favor of av_expr_parse().

Global av_parse_video_frame_rate (AVRational *frame_rate, const char *arg)

Deprecated in favor of av_parse_video_rate().

Deprecated in favor of av_parse_video_rate().

Global av_parse_video_frame_size (int *width_ptr, int *height_ptr, const char *str)

Deprecated in favor of av_parse_video_size().

Deprecated in favor of av_parse_video_size().

Global av_parser_change (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int keyframe)
use AVBitstreamFilter

Global av_parser_parse (AVCodecParserContext *s, AVCodecContext *avctx, uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size, int64_t pts, int64_t dts)
Use av_parser_parse2() instead.

Global av_picture_data_copy (uint8_t *dst_data[4], int dst_linesize[4], uint8_t *src_data[4], int src_linesize[4], enum PixelFormat pix_fmt, int width, int height)

Deprecated in favor of av_image_copy().

Deprecated in favor of av_image_copy().

Global av_register_protocol (URLProtocol *protocol)

Use av_register_protocol2() instead.

Use av_register_protocol2() instead.

Global av_set_parameters (AVFormatContext *s, AVFormatParameters *ap)

pass the options to avformat_write_header directly.

pass the options to avformat_write_header directly.

Global av_sha1_final (struct AVSHA1 *context, uint8_t digest[20])

use av_sha_final() instead

use av_sha_final() instead

Global av_sha1_init (struct AVSHA1 *context)

use av_sha_init() instead

use av_sha_init() instead

Global av_sha1_update (struct AVSHA1 *context, const uint8_t *data, unsigned int len)

use av_sha_update() instead

use av_sha_update() instead

Global av_write_header (AVFormatContext *s)

use avformat_write_header.

use avformat_write_header.

Global avcodec_channel_layout_num_channels (int64_t channel_layout)
Use av_get_channel_layout_nb_channels() instead.

Global avcodec_check_dimensions (void *av_log_ctx, unsigned int w, unsigned int h)

Deprecated in favor of av_check_image_size().

Deprecated in favor of av_check_image_size().

Global avcodec_decode_audio2 (AVCodecContext *avctx, int16_t *samples, int *frame_size_ptr, const uint8_t *buf, int buf_size)

Use avcodec_decode_audio3 instead.

Use avcodec_decode_audio3 instead.

Global avcodec_decode_video (AVCodecContext *avctx, AVFrame *picture, int *got_picture_ptr, const uint8_t *buf, int buf_size)

Use avcodec_decode_video2 instead.

Use avcodec_decode_video2 instead.

Global avcodec_get_channel_layout (const char *name)
Use av_get_channel_layout() instead.

Global avcodec_get_channel_layout_string (char *buf, int buf_size, int nb_channels, int64_t channel_layout)
Use av_get_channel_layout_string() instead.

Global avcodec_get_pix_fmt (const char *name)

Deprecated in favor of av_get_pix_fmt().

Deprecated in favor of av_get_pix_fmt().

Global avcodec_get_pix_fmt_name (enum PixelFormat pix_fmt)

Deprecated in favor of av_get_pix_fmt_name().

Deprecated in favor of av_get_pix_fmt_name().

Global avcodec_get_sample_fmt (const char *name)
Use av_get_sample_fmt() instead.

Global avcodec_get_sample_fmt_name (int sample_fmt)
Use av_get_sample_fmt_name() instead.

Global avcodec_open (AVCodecContext *avctx, AVCodec *codec)

use avcodec_open2

use avcodec_open2

Global avcodec_pix_fmt_string (char *buf, int buf_size, enum PixelFormat pix_fmt)

Use av_get_pix_fmt_string() instead.

Use av_get_pix_fmt_string() instead.

Global avcodec_sample_fmt_string (char *buf, int buf_size, int sample_fmt)
Use av_get_sample_fmt_string() instead.

Global avcodec_thread_init (AVCodecContext *s, int thread_count)

Set s->thread_count before calling avcodec_open() instead of calling this.

Set s->thread_count before calling avcodec_open() instead of calling this.

Global AVCodecContext::hurry_up

Deprecated in favor of skip_idct and skip_frame.

Deprecated in favor of skip_idct and skip_frame.

Deprecated in favor of skip_idct and skip_frame.

Global AVCodecContext::reordered_opaque

in favor of pkt_pts

  • encoding: unused
  • decoding: Set by user.

in favor of pkt_pts

  • encoding: unused
  • decoding: Set by user.

in favor of pkt_pts

  • encoding: unused
  • decoding: Set by user.

Global AVCodecContext::request_channels

Deprecated in favor of request_channel_layout.

Deprecated in favor of request_channel_layout.

Deprecated in favor of request_channel_layout.

Global AVCodecContext::use_lpc

Deprecated in favor of lpc_type and lpc_passes.

Deprecated in favor of lpc_type and lpc_passes.

Deprecated in favor of lpc_type and lpc_passes.

Global avformat_alloc_output_context (const char *format, AVOutputFormat *oformat, const char *filename)

deprecated in favor of avformat_alloc_output_context2()

deprecated in favor of avformat_alloc_output_context2()

Global AVPALETTE_SIZE

Use AVPacket to send palette changes instead. This is totally broken.

Use AVPacket to send palette changes instead. This is totally broken.

Global dump_format (AVFormatContext *ic, int index, const char *url, int is_output)

Deprecated in favor of av_dump_format().

Deprecated in favor of av_dump_format().

Global ff_img_copy_plane (uint8_t *dst, int dst_wrap, const uint8_t *src, int src_wrap, int width, int height)
Use av_image_copy_plane() instead.

Global ff_url_split (char *proto, int proto_size, char *authorization, int authorization_size, char *hostname, int hostname_size, int *port_ptr, char *path, int path_size, const char *url)
use av_url_split() instead

Global find_info_tag (char *arg, int arg_size, const char *tag1, const char *info)

use av_find_info_tag in libavutil instead.

use av_find_info_tag in libavutil instead.

Group FLAC options
Use FLAC encoder private options instead.

Global get_strz (AVIOContext *s, char *buf, int maxlen)

use avio_get_str instead

use avio_get_str instead

Global guess_format (const char *short_name, const char *filename, const char *mime_type)

Use av_guess_format() instead.

Use av_guess_format() instead.

Global parse_date (const char *datestr, int duration)

in favor of av_parse_time()

in favor of av_parse_time()

Global parse_frame_rate (int *frame_rate, int *frame_rate_base, const char *arg)

Use av_parse_video_frame_rate instead.

Use av_parse_video_frame_rate instead.

Global parse_image_size (int *width_ptr, int *height_ptr, const char *str)

Use av_parse_video_frame_size instead.

Use av_parse_video_frame_size instead.

Global register_avcodec (AVCodec *codec)

Deprecated in favor of avcodec_register().

Deprecated in favor of avcodec_register().

Global register_protocol (URLProtocol *protocol)

Use av_register_protocol() instead.

Use av_register_protocol() instead.

Global sws_getContext (int srcW, int srcH, enum PixelFormat srcFormat, int dstW, int dstH, enum PixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param)
Use sws_getCachedContext() instead.

Global sws_printVec (SwsVector *a)

Use sws_printVec2() instead.

Use sws_printVec2() instead.

Global sws_scale_ordered (SwsContext *c, const uint8_t *const src[], int srcStride[], int srcSliceY, int srcSliceH, uint8_t *dst[], int dstStride[])

Use sws_scale() instead.

Use sws_scale() instead.

Global url_exist (const char *filename)

Use avio_check instead.

Use avio_check instead.

Global url_fget_max_packet_size (AVIOContext *s)

use AVIOContext.max_packet_size directly.

use AVIOContext.max_packet_size directly.

Global url_is_streamed (AVIOContext *s)

Use AVIOContext.seekable field directly.

Use AVIOContext.seekable field directly.

Global URLContext

This struct will be made private

This struct will be made private

This struct will be made private

Global URLProtocol

This struct is to be made private.

This struct is to be made private.

This struct is to be made private.