avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
avctx->coded_frame->key_frame = 1;
FF_ENABLE_DEPRECATION_WARNINGS
-#endif
-
-#if FF_API_CODER_TYPE
-FF_DISABLE_DEPRECATION_WARNINGS
- if (avctx->coder_type == FF_CODER_TYPE_RAW)
- s->rle = 0;
-FF_ENABLE_DEPRECATION_WARNINGS
#endif
width = avctx->width;