]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/avuienc.c
Merge commit 'f0259a587ee3419dd894873ea617b4c98eeaca1c'
[ffmpeg] / libavcodec / avuienc.c
index 9276935649c0f6d6c594a9137b54b4d53722c9ca..eb0046cf5c8c8b36ed0df237541a2151d2e1be16 100644 (file)
@@ -25,7 +25,7 @@
 
 static av_cold int avui_encode_init(AVCodecContext *avctx)
 {
-    avctx->coded_frame = avcodec_alloc_frame();
+    avctx->coded_frame = av_frame_alloc();
 
     if (avctx->width != 720 || avctx->height != 486 && avctx->height != 576) {
         av_log(avctx, AV_LOG_ERROR, "Only 720x486 and 720x576 are supported.\n");