]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/targaenc.c
avcodec: Remove deprecated AVCodecContext.coded_frame
[ffmpeg] / libavcodec / targaenc.c
index f662e4a489286dc93922f8224e9b9d8bd0abc70c..cd6cc9e87467aeb36411079feb2959e6a9b01e7b 100644 (file)
@@ -184,13 +184,6 @@ static av_cold int targa_encode_init(AVCodecContext *avctx)
         return AVERROR(EINVAL);
     }
 
-#if FF_API_CODED_FRAME
-FF_DISABLE_DEPRECATION_WARNINGS
-    avctx->coded_frame->key_frame = 1;
-    avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
-FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
     return 0;
 }