]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/proresenc_anatoliy.c
Merge commit 'f0259a587ee3419dd894873ea617b4c98eeaca1c'
[ffmpeg] / libavcodec / proresenc_anatoliy.c
index e124b41bdd74afa58f65ff175da604298cf12cbd..80ce1359c5a602401be62d93a5505df54bdf3ca3 100644 (file)
@@ -581,7 +581,7 @@ static av_cold int prores_encode_init(AVCodecContext *avctx)
         scale_mat(QMAT_CHROMA[avctx->profile], ctx->qmat_chroma[i - 1], i);
     }
 
-    avctx->coded_frame = avcodec_alloc_frame();
+    avctx->coded_frame = av_frame_alloc();
     avctx->coded_frame->key_frame = 1;
     avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;