summaryrefslogtreecommitdiffstats
path: root/libavcodec/xfaceenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/xfaceenc.c')
-rw-r--r--libavcodec/xfaceenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xfaceenc.c b/libavcodec/xfaceenc.c
index e737f6d..e213c9d 100644
--- a/libavcodec/xfaceenc.c
+++ b/libavcodec/xfaceenc.c
@@ -125,7 +125,7 @@ static void encode_block(char *bitmap, int w, int h, int level, ProbRangesQueue
static av_cold int xface_encode_init(AVCodecContext *avctx)
{
- avctx->coded_frame = avcodec_alloc_frame();
+ avctx->coded_frame = av_frame_alloc();
if (!avctx->coded_frame)
return AVERROR(ENOMEM);
avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I;
OpenPOWER on IntegriCloud