Libav
Deprecated List
globalScope> Global av_destruct_packet (AVPacket *pkt)

use the AVBuffer API instead

use the AVBuffer API instead

globalScope> Global av_log_ask_for_sample (void *avc, const char *msg,...) av_printf_format(2

Use avpriv_request_sample() instead.

Use avpriv_request_sample() instead.

globalScope> Global av_log_missing_feature (void *avc, const char *feature, int want_sample)

Use avpriv_report_missing_feature() instead.

Use avpriv_report_missing_feature() instead.

globalScope> 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

use AVBitstreamFilter

globalScope> Global avcodec_get_chroma_sub_sample (enum AVPixelFormat pix_fmt, int *h_shift, int *v_shift)

Use av_pix_fmt_get_chroma_sub_sample

Use av_pix_fmt_get_chroma_sub_sample

globalScope> Global avcodec_get_edge_width (void)

CODEC_FLAG_EMU_EDGE is deprecated, so this function is no longer needed

CODEC_FLAG_EMU_EDGE is deprecated, so this function is no longer needed

globalScope> Global avcodec_set_dimensions (AVCodecContext *s, int width, int height)

this function is not supposed to be used from outside of lavc

this function is not supposed to be used from outside of lavc

Global AVCodecContext::codec_name [32]

this field is not used for anything in libavcodec

this field is not used for anything in libavcodec

this field is not used for anything in libavcodec

Global AVCodecContext::debug_mv

this option does not have any effect

this option does not have any effect

this option does not have any effect

Global AVCodecContext::dtg_active_format

Deprecated in favor of AVSideData

Deprecated in favor of AVSideData

Deprecated in favor of AVSideData

Global AVCodecContext::error_rate

use the 'error_rate' private AVOption of the mpegvideo encoders

use the 'error_rate' private AVOption of the mpegvideo encoders

use the 'error_rate' private AVOption of the mpegvideo encoders

Global AVCodecContext::get_buffer )(struct AVCodecContext *c, AVFrame *pic)

use get_buffer2()

use get_buffer2()

use get_buffer2()

Global AVCodecContext::lowres

use decoder private options instead

use decoder private options instead

use decoder private options instead

Global AVCodecContext::pkt

this field is not supposed to be accessed from outside lavc

this field is not supposed to be accessed from outside lavc

this field is not supposed to be accessed from outside lavc

Global AVCodecContext::release_buffer )(struct AVCodecContext *c, AVFrame *pic)

custom freeing callbacks should be set from get_buffer2()

custom freeing callbacks should be set from get_buffer2()

custom freeing callbacks should be set from get_buffer2()

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::thread_opaque

this field should not be used from outside of lavc

this field should not be used from outside of lavc

this field should not be used from outside of lavc

Global AVCodecContext::xvmc_acceleration
XvMC support is slated for removal.
Global AVFrame::hwaccel_picture_private

this field is unused

this field is unused

this field is unused

Global AVFrame::reordered_opaque

in favor of pkt_pts

in favor of pkt_pts

in favor of pkt_pts

globalScope> Global avpicture_deinterlace (AVPicture *dst, const AVPicture *src, enum AVPixelFormat pix_fmt, int width, int height)

- use yadif (in libavfilter) instead

- use yadif (in libavfilter) instead

globalScope> Global CODEC_CAP_NEG_LINESIZES

no codecs use this capability

no codecs use this capability

globalScope> Global CODEC_FLAG_EMU_EDGE

edges are not used/required anymore. I.e. this flag is now always set.

edges are not used/required anymore. I.e. this flag is now always set.

globalScope> Global CODEC_FLAG_GMC

use the "gmc" private option of the libxvid encoder

use the "gmc" private option of the libxvid encoder

globalScope> Global CODEC_FLAG_INPUT_PRESERVED

passing reference-counted frames to the encoders replaces this flag

passing reference-counted frames to the encoders replaces this flag

globalScope> Global CODEC_FLAG_MV0

use the flag "mv0" in the "mpv_flags" private option of the mpegvideo encoders

use the flag "mv0" in the "mpv_flags" private option of the mpegvideo encoders

globalScope> Global CODEC_FLAG_NORMALIZE_AQP

use the flag "naq" in the "mpv_flags" private option of the mpegvideo encoders

use the flag "naq" in the "mpv_flags" private option of the mpegvideo encoders

globalScope> Global FF_DEBUG_MV

this option does nothing

this option does nothing

globalScope> Global FF_MAX_B_FRAMES

there is no libavcodec-wide limit on the number of B-frames

there is no libavcodec-wide limit on the number of B-frames

globalScope> Global PIX_FMT_BE

use the AV_PIX_FMT_FLAG_* flags

use the AV_PIX_FMT_FLAG_* flags