aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/xwdenc.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/xwdenc.c
parent2ff302cb6ba1f159905888026c8a1d7dd8319acf (diff)
downloadffmpeg-5b9c3b4505206143d85398c1410949319fa1180f.tar.gz
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
Diffstat (limited to 'libavcodec/xwdenc.c')
-rw-r--r--libavcodec/xwdenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xwdenc.c b/libavcodec/xwdenc.c
index 87d6cff11b..54599a08a1 100644
--- a/libavcodec/xwdenc.c
+++ b/libavcodec/xwdenc.c
@@ -32,7 +32,7 @@
static av_cold int xwd_encode_init(AVCodecContext *avctx)
{
- avctx->coded_frame = avcodec_alloc_frame();
+ avctx->coded_frame = av_frame_alloc();
if (!avctx->coded_frame)
return AVERROR(ENOMEM);