diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-02 20:24:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-08-02 20:24:30 +0200 |
commit | 4a8ec0218e0a852b227a689271c1ebf821e248b6 (patch) | |
tree | 869d646ba8530e381e860f36107a1b19f0c2b79e | |
parent | a0044beccac88d86840aa7f03f885b7fea89b20a (diff) | |
download | ffmpeg-4a8ec0218e0a852b227a689271c1ebf821e248b6.tar.gz |
avcodec/avuienc: Use ff_alloc_packet2()
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r-- | libavcodec/avuienc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avuienc.c b/libavcodec/avuienc.c index 77d5538e20..b219906706 100644 --- a/libavcodec/avuienc.c +++ b/libavcodec/avuienc.c @@ -62,7 +62,7 @@ static int avui_encode_frame(AVCodecContext *avctx, AVPacket *pkt, skip = 16; } size = 2 * avctx->width * (avctx->height + skip) + 8 * interlaced; - if ((ret = ff_alloc_packet(pkt, size)) < 0) + if ((ret = ff_alloc_packet2(avctx, pkt, size, size)) < 0) return ret; dst = pkt->data; if (!interlaced) { |