diff options
Diffstat (limited to 'libavcodec/yuv4enc.c')
-rw-r--r-- | libavcodec/yuv4enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/yuv4enc.c b/libavcodec/yuv4enc.c index 8d3907bc7a..ed0fc776db 100644 --- a/libavcodec/yuv4enc.c +++ b/libavcodec/yuv4enc.c @@ -25,7 +25,7 @@ static av_cold int yuv4_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"); |