summaryrefslogtreecommitdiffstats
path: root/libavcodec/v308enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v308enc.c')
-rw-r--r--libavcodec/v308enc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/v308enc.c b/libavcodec/v308enc.c
index 7a97d5a..c6c5ac5 100644
--- a/libavcodec/v308enc.c
+++ b/libavcodec/v308enc.c
@@ -31,7 +31,7 @@ static av_cold int v308_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");
OpenPOWER on IntegriCloud