X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flibutvideoenc.cpp;h=ad70669a6b867667c28fa70cc0d77cfea08c88a8;hb=3adb825650965492f5f874c027b426c0077b523d;hp=44cd42f02bf33a89f11cea28dfdb0b769a184479;hpb=3e78ceadf913a7a9d027e21f67c6f9767f83996b;p=ffmpeg diff --git a/libavcodec/libutvideoenc.cpp b/libavcodec/libutvideoenc.cpp index 44cd42f02bf..ad70669a6b8 100644 --- a/libavcodec/libutvideoenc.cpp +++ b/libavcodec/libutvideoenc.cpp @@ -74,7 +74,7 @@ static av_cold int utvideo_encode_init(AVCodecContext *avctx) flags = ((avctx->prediction_method + 1) << 8) | (avctx->thread_count - 1); avctx->priv_data = utv; - avctx->coded_frame = avcodec_alloc_frame(); + avctx->coded_frame = av_frame_alloc(); /* Alloc extradata buffer */ info = (UtVideoExtra *)av_malloc(sizeof(*info));