summaryrefslogtreecommitdiff
path: root/libavcodec/v410enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v410enc.c')
-rw-r--r--libavcodec/v410enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c
index 91cd823bb8..77b32d7ab6 100644
--- a/libavcodec/v410enc.c
+++ b/libavcodec/v410enc.c
@@ -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");