mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-15 13:21:09 +08:00
avcodec: Remove unneeded getters and setters
Deprecated in c4131a0613
.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:

committed by
James Almer

parent
d85c41b572
commit
23bb78d2ea
@@ -2221,47 +2221,8 @@ typedef struct AVCodecContext {
|
||||
int (*get_encode_buffer)(struct AVCodecContext *s, AVPacket *pkt, int flags);
|
||||
} AVCodecContext;
|
||||
|
||||
#if FF_API_CODEC_GET_SET
|
||||
/**
|
||||
* Accessors for some AVCodecContext fields. These used to be provided for ABI
|
||||
* compatibility, and do not need to be used anymore.
|
||||
*/
|
||||
attribute_deprecated
|
||||
AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);
|
||||
attribute_deprecated
|
||||
void av_codec_set_pkt_timebase (AVCodecContext *avctx, AVRational val);
|
||||
|
||||
attribute_deprecated
|
||||
const AVCodecDescriptor *av_codec_get_codec_descriptor(const AVCodecContext *avctx);
|
||||
attribute_deprecated
|
||||
void av_codec_set_codec_descriptor(AVCodecContext *avctx, const AVCodecDescriptor *desc);
|
||||
|
||||
attribute_deprecated
|
||||
unsigned av_codec_get_codec_properties(const AVCodecContext *avctx);
|
||||
|
||||
attribute_deprecated
|
||||
int av_codec_get_lowres(const AVCodecContext *avctx);
|
||||
attribute_deprecated
|
||||
void av_codec_set_lowres(AVCodecContext *avctx, int val);
|
||||
|
||||
attribute_deprecated
|
||||
int av_codec_get_seek_preroll(const AVCodecContext *avctx);
|
||||
attribute_deprecated
|
||||
void av_codec_set_seek_preroll(AVCodecContext *avctx, int val);
|
||||
|
||||
attribute_deprecated
|
||||
uint16_t *av_codec_get_chroma_intra_matrix(const AVCodecContext *avctx);
|
||||
attribute_deprecated
|
||||
void av_codec_set_chroma_intra_matrix(AVCodecContext *avctx, uint16_t *val);
|
||||
#endif
|
||||
|
||||
struct AVSubtitle;
|
||||
|
||||
#if FF_API_CODEC_GET_SET
|
||||
attribute_deprecated
|
||||
int av_codec_get_max_lowres(const AVCodec *codec);
|
||||
#endif
|
||||
|
||||
struct MpegEncContext;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user