]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/tiffenc.c
avcodec: Remove deprecated AVCodecContext.coded_frame
[ffmpeg] / libavcodec / tiffenc.c
index 6661e59d3102b575bf7f5f9fa7dfdb9d5430e6db..03262f97b2b8386239c4153225e2df6564e76c55 100644 (file)
@@ -533,12 +533,6 @@ static av_cold int encode_init(AVCodecContext *avctx)
     }
 #endif
 
-#if FF_API_CODED_FRAME
-FF_DISABLE_DEPRECATION_WARNINGS
-    avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
-    avctx->coded_frame->key_frame = 1;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
     s->avctx = avctx;
 
     return 0;