diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-09 13:05:22 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-16 15:44:20 +0400 |
commit | 5b9c3b4505206143d85398c1410949319fa1180f (patch) | |
tree | e947d3ad720f3442712d5bf8d59e073243b75f04 /libavcodec/xbmenc.c | |
parent | 2ff302cb6ba1f159905888026c8a1d7dd8319acf (diff) |
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
Diffstat (limited to 'libavcodec/xbmenc.c')
-rw-r--r-- | libavcodec/xbmenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xbmenc.c b/libavcodec/xbmenc.c index 8616372aa9..d6657dcd08 100644 --- a/libavcodec/xbmenc.c +++ b/libavcodec/xbmenc.c @@ -26,7 +26,7 @@ static av_cold int xbm_encode_init(AVCodecContext *avctx) { - avctx->coded_frame = avcodec_alloc_frame(); + avctx->coded_frame = av_frame_alloc(); if (!avctx->coded_frame) return AVERROR(ENOMEM); avctx->coded_frame->pict_type = AV_PICTURE_TYPE_I; |