Libav 0.7.1
Deprecated List

Global av_destruct_packet_nofree (AVPacket *pkt)
use NULL instead

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

Global av_find_stream_info (AVFormatContext *ic)
use avformat_find_stream_info.

Global av_get_bits_per_sample_fmt (enum AVSampleFormat sample_fmt)
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.

Global av_get_pict_type_char (int pict_type)
Use av_get_picture_type_char() instead.

Global av_open_input_file (AVFormatContext **ic_ptr, const char *filename, AVInputFormat *fmt, int buf_size, AVFormatParameters *ap)
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.

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_set_parameters (AVFormatContext *s, AVFormatParameters *ap)
pass the options to avformat_write_header directly.

Global av_write_header (AVFormatContext *s)
use avformat_write_header.

Global avcodec_channel_layout_num_channels (int64_t channel_layout)
Use av_get_channel_layout_nb_channels() 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_name (enum PixelFormat pix_fmt)
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

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.

Global AVCodecContext::reordered_opaque
in favor of pkt_pts

Global AVCodecContext::request_channels
Deprecated in favor of request_channel_layout.

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

Global find_info_tag (char *arg, int arg_size, const char *tag1, const char *info)
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

Global parse_date (const char *datestr, int duration)
in favor of av_parse_time()

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 url_exist (const char *url)
Use avio_check instead.

Global url_feof (AVIOContext *s)
use AVIOContext.eof_reached

Global url_fget_max_packet_size (AVIOContext *s)
use AVIOContext.max_packet_size directly.

Global url_is_streamed (AVIOContext *s)
Use AVIOContext.seekable field directly.

Global URLContext
This struct will be made private

Global URLProtocol
This struct is to be made private.