]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/libutvideoenc.cpp
Merge commit 'cf7860db608df7c76471d8b61f07abbd5aad8dd5'
[ffmpeg] / libavcodec / libutvideoenc.cpp
index 44cd42f02bf33a89f11cea28dfdb0b769a184479..ad70669a6b867667c28fa70cc0d77cfea08c88a8 100644 (file)
@@ -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));