summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-11-09 10:05:22 +0100
committerAnton Khirnov <anton@khirnov.net>2013-11-16 12:44:20 +0100
commit5b9c3b4505206143d85398c1410949319fa1180f (patch)
treee947d3ad720f3442712d5bf8d59e073243b75f04 /libavcodec/utils.c
parent2ff302cb6ba1f159905888026c8a1d7dd8319acf (diff)
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c2
1 files changed, 1 insertions, 1 deletions
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;