]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/alacenc.c
Postpone API-incompatible changes until the next bump.
[ffmpeg] / libavcodec / alacenc.c
index 5fbcbfcd14f4ae4e67e201722f1919312beb12fc..401f26f66c34c40244a902a7d5fd1c6d73115706 100644 (file)
@@ -579,7 +579,7 @@ static av_cold int alac_encode_init(AVCodecContext *avctx)
         goto error;
     }
 
-    avctx->coded_frame = avcodec_alloc_frame();
+    avctx->coded_frame = av_frame_alloc();
     if (!avctx->coded_frame) {
         ret = AVERROR(ENOMEM);
         goto error;