diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-11-09 10:05:22 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-11-16 12:44:20 +0100 |
commit | 5b9c3b4505206143d85398c1410949319fa1180f (patch) | |
tree | e947d3ad720f3442712d5bf8d59e073243b75f04 /libavcodec/libvpxenc.c | |
parent | 2ff302cb6ba1f159905888026c8a1d7dd8319acf (diff) | |
download | ffmpeg-5b9c3b4505206143d85398c1410949319fa1180f.tar.gz |
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
Diffstat (limited to 'libavcodec/libvpxenc.c')
-rw-r--r-- | libavcodec/libvpxenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index d5c4fe15ce..9996afc74c 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -353,7 +353,7 @@ static av_cold int vpx_init(AVCodecContext *avctx, vpx_img_wrap(&ctx->rawimg, VPX_IMG_FMT_I420, avctx->width, avctx->height, 1, (unsigned char*)1); - avctx->coded_frame = avcodec_alloc_frame(); + avctx->coded_frame = av_frame_alloc(); if (!avctx->coded_frame) { av_log(avctx, AV_LOG_ERROR, "Error allocating coded frame\n"); vp8_free(avctx); |