From 5b9c3b4505206143d85398c1410949319fa1180f Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 9 Nov 2013 10:05:22 +0100 Subject: Replace all instances of avcodec_alloc_frame() with av_frame_alloc(). --- libavcodec/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/utils.c') diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 23165f4f43..da50e4268c 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1125,7 +1125,7 @@ static int pad_last_frame(AVCodecContext *s, AVFrame **dst, const AVFrame *src) AVFrame *frame = NULL; int ret; - if (!(frame = avcodec_alloc_frame())) + if (!(frame = av_frame_alloc())) return AVERROR(ENOMEM); frame->format = src->format; -- cgit v1.2.3