]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v408enc.c
Merge commit 'a16577d9857206089fd8bce6a342b31dbd7fb9b0'
[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");