]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rawenc.c
Revert "build: Remove redundant config.mak includes from subdirectory Makefiles."
[ffmpeg] / libavcodec / rawenc.c
index 630df0f7238c3d7ec1341deddcb62a6ff84b7a27..772ce94067d0b9088b181b5ea5b1848c764c0110 100644 (file)
@@ -32,7 +32,7 @@
 static av_cold int raw_init_encoder(AVCodecContext *avctx)
 {
     avctx->coded_frame = (AVFrame *)avctx->priv_data;
-    avctx->coded_frame->pict_type = FF_I_TYPE;
+    avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
     avctx->coded_frame->key_frame = 1;
     avctx->bits_per_coded_sample = av_get_bits_per_pixel(&av_pix_fmt_descriptors[avctx->pix_fmt]);
     if(!avctx->codec_tag)