summaryrefslogtreecommitdiff
path: root/libavcodec/proresenc.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/proresenc.c
parent2ff302cb6ba1f159905888026c8a1d7dd8319acf (diff)
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
Diffstat (limited to 'libavcodec/proresenc.c')
-rw-r--r--libavcodec/proresenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/proresenc.c b/libavcodec/proresenc.c
index 758b8e3a54..7e9ce541b6 100644
--- a/libavcodec/proresenc.c
+++ b/libavcodec/proresenc.c
@@ -1075,7 +1075,7 @@ static av_cold int encode_init(AVCodecContext *avctx)
int interlaced = !!(avctx->flags & CODEC_FLAG_INTERLACED_DCT);
avctx->bits_per_raw_sample = 10;
- avctx->coded_frame = avcodec_alloc_frame();
+ avctx->coded_frame = av_frame_alloc();
if (!avctx->coded_frame)
return AVERROR(ENOMEM);