]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/v410enc.c
Merge commit 'f0259a587ee3419dd894873ea617b4c98eeaca1c'
[ffmpeg] / libavcodec / v410enc.c
index c4ce3dfd049813e27c5933b8d2a4e10f86ad6ad2..0e2e82a7f9da4d35bdde90d81458d983e67aabd6 100644 (file)
@@ -32,7 +32,7 @@ static av_cold int v410_encode_init(AVCodecContext *avctx)
         return AVERROR_INVALIDDATA;
     }
 
-    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");