From 11bc79089378a5ec00547d0f85bc152afdf30dfa Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Wed, 14 Apr 2021 03:36:13 +0200 Subject: avcodec: Remove deprecated AVCodecContext.coded_frame Deprecated in 40cf1bbacc6220a0aa6bed5c331871d43f9ce370. (The currently disabled filter vf_mcdeint and vf_uspp were users of this field; they have not been changed, so that whoever wants to fix them can see the state of these filters when they were disabled.) Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer --- libavcodec/rawenc.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'libavcodec/rawenc.c') diff --git a/libavcodec/rawenc.c b/libavcodec/rawenc.c index d181b74570..a7dd162d55 100644 --- a/libavcodec/rawenc.c +++ b/libavcodec/rawenc.c @@ -36,11 +36,6 @@ static av_cold int raw_encode_init(AVCodecContext *avctx) { const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt); -#if FF_API_CODED_FRAME -FF_DISABLE_DEPRECATION_WARNINGS - avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; -FF_ENABLE_DEPRECATION_WARNINGS -#endif avctx->bits_per_coded_sample = av_get_bits_per_pixel(desc); if(!avctx->codec_tag) avctx->codec_tag = avcodec_pix_fmt_to_codec_tag(avctx->pix_fmt); -- cgit v1.2.3