]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v408enc.c
Merge commit 'cf7860db608df7c76471d8b61f07abbd5aad8dd5'
[ffmpeg] / libavcodec / v408enc.c
index 85cf7c84eb5ea86d6a453d60cadb65cf20aa9564..20f08c74edb58e01e39b96bd11e329eac0b04bcb 100644 (file)
@@ -26,7 +26,7 @@
 
 static av_cold int v408_encode_init(AVCodecContext *avctx)
 {
-    avctx->coded_frame = avcodec_alloc_frame();
+    avctx->coded_frame = av_frame_alloc();
 
     if (!avctx->coded_frame) {
         av_log(avctx, AV_LOG_ERROR, "Could not allocate frame.\n");